]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: refresh vcpu halted state only via query-cpus-fast
authorViktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Wed, 4 Apr 2018 14:45:07 +0000 (16:45 +0200)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 17 Apr 2018 16:45:26 +0000 (12:45 -0400)
commitd8f17e60523a10e6e6d5cdafc6ea7a5a56160c7e
tree3e25bb1aa221234612dc24bf520bb8afb52cc7c2
parent40934494293e58e49c5c32d75fbd8164f1054593
qemu: refresh vcpu halted state only via query-cpus-fast

In order to not affect running VMs, refreshing the halted state
is only performed if QEMU supports the query-cpus-fast QAPI.

Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com>
Reviewed-by: Marc Hartmayer <mhartmay@linux.vnet.ibm.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_domain.c