Re: [libvirt] [PATCH 1/2] qemu: alias: Fix calculation of RNG device aliases

2016-04-07 Thread Peter Krempa
On Wed, Apr 06, 2016 at 18:14:22 +0200, Pavel Hrdina wrote: > On Wed, Apr 06, 2016 at 05:52:48PM +0200, Peter Krempa wrote: > > For device hotplug, the new alias ID needs to be checked in the list > > rather than using the count of devices. Unplugging a device that is not > > last in the array

Re: [libvirt] [PATCH 1/2] qemu: alias: Fix calculation of RNG device aliases

2016-04-06 Thread Pavel Hrdina
On Wed, Apr 06, 2016 at 05:52:48PM +0200, Peter Krempa wrote: > For device hotplug, the new alias ID needs to be checked in the list > rather than using the count of devices. Unplugging a device that is not > last in the array will make further hotplug impossible due to alias > collision. > >

[libvirt] [PATCH 1/2] qemu: alias: Fix calculation of RNG device aliases

2016-04-06 Thread Peter Krempa
For device hotplug, the new alias ID needs to be checked in the list rather than using the count of devices. Unplugging a device that is not last in the array will make further hotplug impossible due to alias collision. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1324551 ---