summaryrefslogtreecommitdiff
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2010-12-06 10:53:38 -0600
committerAvi Kivity <avi@redhat.com>2011-01-12 11:30:46 +0200
commit443381a828910efa3d71ba4491d180f2d0bb4212 (patch)
treec8deb311dc30d9a88aba1b17581dbb46ba2c3023 /include/linux/kvm_host.h
parent38e5e92fe8c02a8766459d505423b855caf9af1f (diff)
downloadlwn-443381a828910efa3d71ba4491d180f2d0bb4212.tar.gz
lwn-443381a828910efa3d71ba4491d180f2d0bb4212.zip
KVM: VMX: add module parameter to avoid trapping HLT instructions (v5)
In certain use-cases, we want to allocate guests fixed time slices where idle guest cycles leave the machine idling. There are many approaches to achieve this but the most direct is to simply avoid trapping the HLT instruction which lets the guest directly execute the instruction putting the processor to sleep. Introduce this as a module-level option for kvm-vmx.ko since if you do this for one guest, you probably want to do it for all. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/linux/kvm_host.h')
0 files changed, 0 insertions, 0 deletions