summaryrefslogtreecommitdiffstats
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorWanpeng Li2015-09-03 16:07:37 +0200
committerPaolo Bonzini2015-09-06 16:27:10 +0200
commit19020f8ab83de9dc5a9c8af1f321a526f38bbc40 (patch)
tree6dfa3d1f6971920cb697cade899328e13fb7bc19 /include/linux/kvm_host.h
parentSilence compiler warning in arch/x86/kvm/emulate.c (diff)
downloadkernel-qcow2-linux-19020f8ab83de9dc5a9c8af1f321a526f38bbc40.tar.gz
kernel-qcow2-linux-19020f8ab83de9dc5a9c8af1f321a526f38bbc40.tar.xz
kernel-qcow2-linux-19020f8ab83de9dc5a9c8af1f321a526f38bbc40.zip
KVM: make halt_poll_ns per-vCPU
Change halt_poll_ns into per-VCPU variable, seeded from module parameter, to allow greater flexibility. Signed-off-by: Wanpeng Li <wanpeng.li@hotmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r--include/linux/kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 81089cf1f0c1..1bef9e21e725 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -242,6 +242,7 @@ struct kvm_vcpu {
int sigset_active;
sigset_t sigset;
struct kvm_vcpu_stat stat;
+ unsigned int halt_poll_ns;
#ifdef CONFIG_HAS_IOMEM
int mmio_needed;