On 11/13/2011 02:27 PM, Xin Tong wrote:
> I am investigating how INVLPG is emulated in kvm.
You're on the wrong list.
> It turns out that it calls
>
> kvm_mmu_invlpg
>kvm_mmu_flush_tlb
> kvm_make_request(KVM_REQ_TLB_FLUSH, vcpu);
>
> and the kvm_make_request set the vcpu->requests bit t
I am investigating how INVLPG is emulated in kvm. It turns out that it calls
kvm_mmu_invlpg
kvm_mmu_flush_tlb
kvm_make_request(KVM_REQ_TLB_FLUSH, vcpu);
and the kvm_make_request set the vcpu->requests bit to high, when the
guest os resumes, it handles the bit. I have 2 questions
1. How