KVM: VMX: WARN on a MOV CR3 exit w/ unrestricted guest
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 5 Mar 2018 20:04:41 +0000 (12:04 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 16 Mar 2018 21:01:37 +0000 (22:01 +0100)
commite1de91ccab311ec8007c6e77b0dbb4e3421fd298
tree3b249e0301fd77aa6c215fab074e9a09d8bb8a3c
parentb4d185175bc13d238d96998b1dba5ddeb7c69d71
KVM: VMX: WARN on a MOV CR3 exit w/ unrestricted guest

CR3 load/store exiting are always off when unrestricted guest
is enabled.  WARN on the associated CR3 VMEXIT to detect code
that would re-introduce CR3 load/store exiting for unrestricted
guest.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c