KVM: nVMX: INVPCID support
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 27 Jul 2017 11:22:13 +0000 (13:22 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 7 Aug 2017 13:26:06 +0000 (15:26 +0200)
commit90a2db6d86878f6cf34935092e4320ec71971c80
tree5d64eda61405f1c5091d7aa58dd75d8205c5f4a6
parent72c139bacfa386145d7bbb68c47c8824716153b6
KVM: nVMX: INVPCID support

Expose the "Enable INVPCID" secondary execution control to the guest
and properly reflect the exit reason.

In addition, before this patch the guest was always running with
INVPCID enabled, causing pcid.flat's "Test on INVPCID when disabled"
test to fail.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c