Re: [PATCH] KVM: MMU: make kvm_mmu_reset_context() flush the guest TLB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 12, 2011 at 06:25:00PM +0300, Avi Kivity wrote:
> kvm_set_cr0() and kvm_set_cr4(), and possible other functions,
> assume that kvm_mmu_reset_context() flushes the guest TLB.  However,
> it does not.

TLB flush should be done lazily during guest entry, in
kvm_mmu_load(). Don't see why this patch is needed.

> 
> Fix by flushing the tlb (and syncing the new root as well).
> 
> Signed-off-by: Avi Kivity <avi@xxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux