[libvirt] [PATCH v11 2/5] qemu: Swap order of RNG hot unplug removal

Pavel Hrdina phrdina at redhat.com
Tue Oct 25 12:48:02 UTC 2016


On Mon, Oct 24, 2016 at 06:46:18PM -0400, John Ferlan wrote:
> Rather than remove the frontend first and then the backend, let's swap the
> order. The order of addition is add the chardev backend if EGD being used,
> then add the RNG object. So there's a dependency there. When we remove,
> unplug the backend first, then remove the object would seem to be a more
> logical step. This would then follow similar processing for disk removal
> where dependent objects (secret and encryption) of the drive are removed
> before the drive is removed.

Nice catch, qemuDomainRemoveChrDevice needs the same fix.

ACK

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20161025/31cbab95/attachment-0001.sig>


More information about the libvir-list mailing list