diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2019-06-03 19:52:44 -0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-06-18 11:43:46 +0200 |
commit | 2d5ba19bdfef4dd06add144eb04287ee98409f75 (patch) | |
tree | 740184128ac3de9a538ef62a9d525c48ddf3712a /arch/x86/include/asm/kvm_host.h | |
parent | fdb28619a8f033c13f5d9b9e8b5536bb6e68a2c3 (diff) | |
download | linux-2d5ba19bdfef4dd06add144eb04287ee98409f75.tar.gz linux-2d5ba19bdfef4dd06add144eb04287ee98409f75.tar.bz2 linux-2d5ba19bdfef4dd06add144eb04287ee98409f75.zip |
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 'arch/x86/include/asm/kvm_host.h')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index aeadbc770eb2..a86026969b19 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -755,6 +755,8 @@ struct kvm_vcpu_arch { struct gfn_to_hva_cache data; } pv_eoi; + u64 msr_kvm_poll_control; + /* * Indicate whether the access faults on its page table in guest * which is set when fix page fault and used to detect unhandeable |