]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_driver: check whether iothread is used by controller
authorPavel Hrdina <phrdina@redhat.com>
Sun, 12 Feb 2017 16:58:05 +0000 (17:58 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 20 Feb 2017 17:44:24 +0000 (18:44 +0100)
commit99f00fb8bc19f7fa17fb55d7f7ac60c32f29ef9d
treeb3b16b89933c18b4c5869888b6057a4eff92c8d3
parentc6d2fba69c2f682b546edc66622d8a34e64dd13f
qemu_driver: check whether iothread is used by controller

This follows the same check for disk, because we cannot remove iothread
if it's used by disk or by controller.  It could lead to crashing QEMU.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_driver.c