aboutsummaryrefslogtreecommitdiff
path: root/target/i386/cpu.h
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2019-06-03 20:04:08 -0300
committerPaolo Bonzini <pbonzini@redhat.com>2019-08-20 17:26:17 +0200
commitd645e1328726b38b3c79525eb57842ce29c1df7c (patch)
treed94444364f9c8029358e81fa2a32f05de32c128e /target/i386/cpu.h
parent17dc57990320edaad52ac9ea808be9719c91cea6 (diff)
downloadqemu-d645e1328726b38b3c79525eb57842ce29c1df7c.zip
qemu-d645e1328726b38b3c79525eb57842ce29c1df7c.tar.gz
qemu-d645e1328726b38b3c79525eb57842ce29c1df7c.tar.bz2
kvm: i386: halt poll control MSR support
Add support for halt poll control MSR: save/restore, migration and new feature name. The purpose of this MSR is to allow the guest to disable host halt poll. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Message-Id: <20190603230408.GA7938@amt.cnet> [Do not enable by default, as pointed out by Mark Kanda. - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/cpu.h')
-rw-r--r--target/i386/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/i386/cpu.h b/target/i386/cpu.h
index ecd0ec0..6c95447 100644
--- a/target/i386/cpu.h
+++ b/target/i386/cpu.h
@@ -1260,6 +1260,7 @@ typedef struct CPUX86State {
uint64_t steal_time_msr;
uint64_t async_pf_en_msr;
uint64_t pv_eoi_en_msr;
+ uint64_t poll_control_msr;
/* Partition-wide HV MSRs, will be updated only on the first vcpu */
uint64_t msr_hv_hypercall;