summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-02-29 01:52:39 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2020-03-16 19:57:36 +0300
commit3651c7fc2bf63b62c009b8470aaf096b3b4b01e8 (patch)
tree68aed050454d62d7f667fe087090182f77e0381d /include/linux
parentcc7f5577adfc766de8613b71e9ae52c053fcca01 (diff)
downloadlinux-3651c7fc2bf63b62c009b8470aaf096b3b4b01e8.tar.xz
KVM: x86/mmu: Ignore guest CR3 on fast root switch for direct MMU
Ignore the guest's CR3 when looking for a cached root for a direct MMU, the guest's CR3 has no impact on the direct MMU's shadow pages (the role check ensures compatibility with CR0.WP, etc...). Zero out root_cr3 when allocating the direct roots to make it clear that it's ignored. Cc: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions