summaryrefslogtreecommitdiff
path: root/Documentation/virtual
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2019-06-04 01:52:44 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2019-06-18 12:43:46 +0300
commit2d5ba19bdfef4dd06add144eb04287ee98409f75 (patch)
tree740184128ac3de9a538ef62a9d525c48ddf3712a /Documentation/virtual
parentfdb28619a8f033c13f5d9b9e8b5536bb6e68a2c3 (diff)
downloadlinux-2d5ba19bdfef4dd06add144eb04287ee98409f75.tar.xz
kvm: x86: add host poll control msrs
Add an MSRs which allows the guest to disable host polling (specifically the cpuidle-haltpoll, when performing polling in the guest, disables host side polling). Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Documentation/virtual')
-rw-r--r--Documentation/virtual/kvm/msr.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/virtual/kvm/msr.txt b/Documentation/virtual/kvm/msr.txt
index f3f0d57ced8e..df1f4338b3ca 100644
--- a/Documentation/virtual/kvm/msr.txt
+++ b/Documentation/virtual/kvm/msr.txt
@@ -273,3 +273,12 @@ MSR_KVM_EOI_EN: 0x4b564d04
guest must both read the least significant bit in the memory area and
clear it using a single CPU instruction, such as test and clear, or
compare and exchange.
+
+MSR_KVM_POLL_CONTROL: 0x4b564d05
+ Control host-side polling.
+
+ data: Bit 0 enables (1) or disables (0) host-side HLT polling logic.
+
+ KVM guests can request the host not to poll on HLT, for example if
+ they are performing polling themselves.
+