]> xenbits.xensource.com Git - libvirt.git/commit
qemu: domain: Store vcpu halted state as a tristate
authorPeter Krempa <pkrempa@redhat.com>
Tue, 6 Feb 2018 15:00:45 +0000 (16:00 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 7 Feb 2018 12:57:00 +0000 (13:57 +0100)
commitca588a34b23a1f30dc7eeb7d5134706e31b403ef
tree81f0d3e3ed8a0b303daa9b79dbbcf5c7456d6ad9
parent2222548b1e55257dc8806abdbefa71a87b22dea1
qemu: domain: Store vcpu halted state as a tristate

Since it may be possible that the state is unknown in some cases we
should store it as a tristate so that other code using it can determine
whether the state was updated.
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c