commit | a7052897b3bcd568a9f5bfaa558957039e7e7ec0 | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Tue Sep 23 13:18:35 2008 -0300 |
committer | Avi Kivity <avi@redhat.com> | Wed Oct 15 14:25:21 2008 +0200 |
tree | 5495e806032f0fddf4de1ad4381c9b3f5d49dfbc | |
parent | 0ba73cdadb8ac172f396df7e23c4a9cebd59b550 [diff] [blame] |
KVM: x86: trap invlpg With pages out of sync invlpg needs to be trapped. For now simply nuke the entry. Untested on AMD. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 88e6d9a..efee85b 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c
@@ -2341,6 +2341,7 @@ int emulate_invlpg(struct kvm_vcpu *vcpu, gva_t address) { + kvm_mmu_invlpg(vcpu, address); return X86EMUL_CONTINUE; }