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>
This commit is contained in:
committed by
Avi Kivity
parent
0ba73cdadb
commit
a7052897b3
@@ -2341,6 +2341,7 @@ static unsigned long get_segment_base(struct kvm_vcpu *vcpu, int seg)
|
||||
|
||||
int emulate_invlpg(struct kvm_vcpu *vcpu, gva_t address)
|
||||
{
|
||||
kvm_mmu_invlpg(vcpu, address);
|
||||
return X86EMUL_CONTINUE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user