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

Peter Krempa pkrempa at redhat.com
Thu Apr 7 08:20:23 UTC 2016


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 will make further hotplug impossible due to alias
> > collision.
> > 
> > Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1324551
> > ---

..

> 
> ACK with that fixed.

With the proposed change and removal of the @idx parameter which is
always -1 the code could be simplified. I've pushed the patches.

Thanks.

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160407/a567550a/attachment-0001.sig>


More information about the libvir-list mailing list