]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: hotplug: Make qemuHotplugWaitForTrayEject reusable
authorPeter Krempa <pkrempa@redhat.com>
Fri, 13 Jul 2018 15:55:59 +0000 (17:55 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 20 Jul 2018 12:23:09 +0000 (14:23 +0200)
commit83fe11e950bc639758a984b97ff5052eda92bd97
treec337c9e3c275fe9df79aac3a4afcb9e47e847f56
parent22480cf9508e85578408b03bfc071fc6ef751324
qemu: hotplug: Make qemuHotplugWaitForTrayEject reusable

Remove the issue of the monitor command to the caller so that the
function can be used with the modern approach.

Additionally improve the error message.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_hotplug.c