KVM: nVMX: Add support for activity state HLT
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 4 Dec 2013 07:58:54 +0000 (08:58 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 Dec 2013 09:49:56 +0000 (10:49 +0100)
We can easily emulate the HLT activity state for L1: If it decides that
L2 shall be halted on entry, just invoke the normal emulation of halt
after switching to L2. We do not depend on specific host features to
provide this, so we can expose the capability unconditionally.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/vmx.h
arch/x86/kvm/vmx.c

Simple merge
Simple merge