]> xenbits.xensource.com Git - libvirt.git/commit
qemu: hotplug: Refactor semantics of qemuDomainWaitForDeviceRemoval
authorPeter Krempa <pkrempa@redhat.com>
Mon, 4 Apr 2016 13:08:40 +0000 (15:08 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 13 Apr 2016 11:26:29 +0000 (13:26 +0200)
commit986a016c5d384bc912e5deb06068e886d3163f7b
treee31267110dbaaf8f388fc371159a9ab9b9784d82
parent65b390ad1b646f8ea04abfde01bcff5dc172ba3d
qemu: hotplug: Refactor semantics of qemuDomainWaitForDeviceRemoval

Neither of the callers cares whether the DEVICE_DELETED event isn't
supported or the event was received. Simplify the code and callers by
unifying the two values and changing the return value constants so that
a temporary variable can be omitted.
src/qemu/qemu_hotplug.c