KVM: nVMX: Clean up and fix pin-based execution controls
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 13 Mar 2013 10:30:50 +0000 (11:30 +0100)
committerGleb Natapov <gleb@redhat.com>
Wed, 13 Mar 2013 14:14:40 +0000 (16:14 +0200)
Only interrupt and NMI exiting are mandatory for KVM to work, thus can
be exposed to the guest unconditionally, virtual NMI exiting is
optional. So we must not advertise it unless the host supports it.

Introduce the symbolic constant PIN_BASED_ALWAYSON_WITHOUT_TRUE_MSR at
this chance.

Reviewed-by:: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>

No differences found