]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nSVM: introduce nested_svm_load_cr3()/nested_npt_enabled()
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 10 Jul 2020 14:11:53 +0000 (16:11 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 Jul 2020 16:55:36 +0000 (12:55 -0400)
commit205de2e74952e880ee0209b344f2f9e990c0b439
tree91e8328c9ae8f02bd4b9878e2d1e2f04c4b4a364
parente09c902383c753e316dc9de2b79985c4cede22ff
KVM: nSVM: introduce nested_svm_load_cr3()/nested_npt_enabled()

As a preparatory change for implementing nSVM-specific PGD switch
(following nVMX' nested_vmx_load_cr3()), introduce nested_svm_load_cr3()
instead of relying on kvm_set_cr3().

No functional change intended.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20200710141157.1640173-6-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c