]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: x86: Introduce KVM_REQ_LOAD_CR3
authorJunaid Shahid <junaids@google.com>
Wed, 27 Jun 2018 21:59:08 +0000 (14:59 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Aug 2018 15:58:52 +0000 (17:58 +0200)
commit3bba685e483f69001bbeece98ae2e089dff2b06f
treefd7a55232cc338dfd86687875a26e7a3a8c4ffc6
parent007cec40fd0e886bfbb4e856b619092b4fd608a3
kvm: x86: Introduce KVM_REQ_LOAD_CR3

The KVM_REQ_LOAD_CR3 request loads the hardware CR3 using the
current root_hpa.

Signed-off-by: Junaid Shahid <junaids@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.c
arch/x86/kvm/mmu.h
arch/x86/kvm/x86.c