]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Don't try to fetch migration stats on destination
authorJiri Denemark <jdenemar@redhat.com>
Mon, 29 Feb 2016 11:34:08 +0000 (12:34 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 1 Mar 2016 14:59:00 +0000 (15:59 +0100)
commit3ecd73c4d8962acfbc4bac05bcd47663f2bd791f
tree28e39786862491fd916aa5aa39d2bbdd3537d38c
parent65e44a44b247a8a5ef3ab6362064d58e6b11eeae
qemu: Don't try to fetch migration stats on destination

Migration statistics are not available on the destination host and
starting a query job during incoming migration is not allowed. Trying to
do that would result in

    Timed out during operation: cannot acquire state change lock (held
    by remoteDispatchDomainMigratePrepare3Params)

error. We should not even try to start the job.

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

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_driver.c