kvm: x86: Add a root_hpa parameter to kvm_mmu->invlpg()
authorJunaid Shahid <junaids@google.com>
Wed, 27 Jun 2018 21:59:16 +0000 (14:59 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Aug 2018 15:58:58 +0000 (17:58 +0200)
commit7eb77e9f5fcf652a21b2d12bff1cd509b6b14f21
tree558cfec9d0dfc6d769543393e6eda10081007d18
parentade61e2824443a208bb3aaafd8b345ce878298cd
kvm: x86: Add a root_hpa parameter to kvm_mmu->invlpg()

This allows invlpg() to be called using either the active root_hpa
or the prev_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/paging_tmpl.h