]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Need to return status of RNG device removal
authorLuyao Huang <lhuang@redhat.com>
Sun, 31 May 2015 13:27:25 +0000 (21:27 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 2 Jun 2015 18:03:48 +0000 (14:03 -0400)
commit731d9cf251a79dcec9bfe44b67182527f1438a3a
tree590f6261470bc567bdf938b5506e204531ca00a9
parent038a03c7a7492865c3e714b2d36cd9bde6bf5fc8
qemu: Need to return status of RNG device removal

Commit id '862473fa' neglected to return the status from the
qemuDomainRemoveRNGDevice call in qemuDomainRemoveDevice causing
the function to always fail when receiving an RNG device unplug
event. Additionally the domain status/state would not be updated
in the processDeviceDeletedEvent path.

Signed-off-by: Luyao Huang <lhuang@redhat.com>
src/qemu/qemu_hotplug.c