]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: hotplug: Fix asynchronous unplug of 'shmem'
authorPeter Krempa <pkrempa@redhat.com>
Fri, 17 Aug 2018 07:11:34 +0000 (09:11 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 17 Aug 2018 07:14:02 +0000 (09:14 +0200)
commit69c20e1090059d8b359fdd435e8ba50db7269be1
tree5a3fbd162243156292ed981b36873f2bfc3e5569
parentf4c39db7366376bd95e1751b0e3ced9c73c14f5b
qemu: hotplug: Fix asynchronous unplug of 'shmem'

commit 5c81c342a7 forgot to skip the detaching of the shmem backend
when async unplug is requested which meant that we've tried to unplug
the backend prior to delivery of the DEVICE_DELETED event.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1618622

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_hotplug.c