]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Add domain support for VCPU halted state
authorViktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Thu, 13 Oct 2016 11:42:45 +0000 (13:42 +0200)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 24 Oct 2016 22:52:36 +0000 (18:52 -0400)
commit08f22976b150f34aefeb545155472313e90bcfca
tree15de33c820ff589f80ca5a3399dee1d3ce3a3f3d
parentcc5e695bde947df6443c039868e474a3e38ed72b
qemu: Add domain support for VCPU halted state

Adding a field to the domain's private vcpu object to hold the halted
state information.
Adding two functions in support of the halted state:
- qemuDomainGetVcpuHalted: retrieve the halted state from a
  private vcpu object
- qemuDomainRefreshVcpuHalted: obtain the per-vcpu halted states
  via qemu monitor and store the results in the private vcpu objects

Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Reviewed-by: Bjoern Walk <bwalk@linux.vnet.ibm.com>
Reviewed-by: Hao QingFeng <haoqf@linux.vnet.ibm.com>
Signed-off-by: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h