Re: [libvirt] [PATCH] qemu: update netdevs of the same mac addrs correctly

2015-06-14 Thread zhang bo
On 2015/6/15 8:27, zhang bo wrote: ping On 2015/6/8 16:25, zhang bo wrote: If a guest has multiple network devices with the same MAC address, when we online update the second device, libvirtd always updates the first one. commit def31e4c forgot to fix the online updating scenario. We

Re: [libvirt] [PATCH] qemu: update netdevs of the same mac addrs correctly

2015-06-14 Thread zhang bo
ping On 2015/6/8 16:25, zhang bo wrote: If a guest has multiple network devices with the same MAC address, when we online update the second device, libvirtd always updates the first one. commit def31e4c forgot to fix the online updating scenario. We need to use virDomainNetFindIdx() to

Re: [libvirt] [PATCH] qemu: update netdevs of the same mac addrs correctly

2015-06-12 Thread John Ferlan
On 06/08/2015 04:25 AM, zhang bo wrote: If a guest has multiple network devices with the same MAC address, when we online update the second device, libvirtd always updates the first one. commit def31e4c forgot to fix the online updating scenario. We need to use virDomainNetFindIdx() to

[libvirt] [PATCH] qemu: update netdevs of the same mac addrs correctly

2015-06-08 Thread zhang bo
If a guest has multiple network devices with the same MAC address, when we online update the second device, libvirtd always updates the first one. commit def31e4c forgot to fix the online updating scenario. We need to use virDomainNetFindIdx() to find the correct network device. Signed-off-by: