]> xenbits.xensource.com Git - libvirt.git/commit
qemu_driver: always check whether iothread is used by disk or not
authorPavel Hrdina <phrdina@redhat.com>
Sun, 12 Feb 2017 16:49:21 +0000 (17:49 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 20 Feb 2017 17:43:11 +0000 (18:43 +0100)
commitae27cb9adde63e3521445fff0e6c921ad72aae70
treecd037509e4a5c6d6ae1e7558a24e9c1cbdaaa829
parentc96bd78e4e71c799dc391566fa9f0652dec55dca
qemu_driver: always check whether iothread is used by disk or not

If virDomainDelIOThread API was called with VIR_DOMAIN_AFFECT_LIVE
and VIR_DOMAIN_AFFECT_CONFIG and both XML were already a different
it could result in removing iothread from config XML even if there
was a disk using that iothread.

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