summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorJunaid Shahid2018-06-27 23:59:14 +0200
committerPaolo Bonzini2018-08-06 17:58:57 +0200
commiteb4b248e152d3ecf189b9d32c04961360dbd938a (patch)
tree7fa1aff6366d64f020fe97537ecad18cc5f08b0f /arch/x86/include
parentkvm: x86: Propagate guest PCIDs to host PCIDs (diff)
downloadkernel-qcow2-linux-eb4b248e152d3ecf189b9d32c04961360dbd938a.tar.gz
kernel-qcow2-linux-eb4b248e152d3ecf189b9d32c04961360dbd938a.tar.xz
kernel-qcow2-linux-eb4b248e152d3ecf189b9d32c04961360dbd938a.zip
kvm: vmx: Support INVPCID in shadow paging mode
Implement support for INVPCID in shadow paging mode as well. Signed-off-by: Junaid Shahid <junaids@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index c2b4df8a03cd..1c253f15f9cd 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -1317,6 +1317,7 @@ int kvm_emulate_hypercall(struct kvm_vcpu *vcpu);
int kvm_mmu_page_fault(struct kvm_vcpu *vcpu, gva_t gva, u64 error_code,
void *insn, int insn_len);
void kvm_mmu_invlpg(struct kvm_vcpu *vcpu, gva_t gva);
+void kvm_mmu_invpcid_gva(struct kvm_vcpu *vcpu, gva_t gva, unsigned long pcid);
void kvm_mmu_new_cr3(struct kvm_vcpu *vcpu, gpa_t new_cr3);
void kvm_enable_tdp(void);