
25 Oct
2016
25 Oct
'16
8:48 a.m.
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