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)
commit6e42782f516f05c8030f63308f2457681b1c9919
treefd7a55232cc338dfd86687875a26e7a3a8c4ffc6
parent9fa72119b24db78d665a4034b5a0d349b0289b08
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