]> xenbits.xensource.com Git - libvirt.git/commit
qemu: hotplug: Disallow media change while blockjob is active
authorPeter Krempa <pkrempa@redhat.com>
Thu, 28 Mar 2019 11:23:43 +0000 (12:23 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 3 Apr 2019 09:58:09 +0000 (11:58 +0200)
commitb3736febca1e371b5ee37b287fd760ffada45ad8
tree50a34ca7b0a8b09f0f417d68b414dd6e53cc6f06
parent0beac488e03673f477d89c9ab3949ca2fbb5b05f
qemu: hotplug: Disallow media change while blockjob is active

Until the block job completes we can't change the disk chain. Removal
would fail as the block job still has reference to the chain.

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