diff options
author | Krish Sadhukhan <krish.sadhukhan@oracle.com> | 2020-07-08 02:39:56 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-07-08 22:21:59 +0200 |
commit | 761e4169346553c180bbd4a383aedd72f905bc9a (patch) | |
tree | ced456fa86e62cae7839526c65627c22048597b5 /arch/x86/kvm/pmu.h | |
parent | KVM: x86: Make CR4.VMXE reserved for the guest (diff) | |
download | linux-761e4169346553c180bbd4a383aedd72f905bc9a.tar.xz linux-761e4169346553c180bbd4a383aedd72f905bc9a.zip |
KVM: nSVM: Check that MBZ bits in CR3 and CR4 are not set on vmrun of nested guests
According to section "Canonicalization and Consistency Checks" in APM vol. 2
the following guest state is illegal:
"Any MBZ bit of CR3 is set."
"Any MBZ bit of CR4 is set."
Suggeted-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Message-Id: <1594168797-29444-3-git-send-email-krish.sadhukhan@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/pmu.h')
0 files changed, 0 insertions, 0 deletions