Re: [kvm-devel] [patch 4/5] KVM: ignore zapped root pagetables (v2)

2008-02-21 Thread Avi Kivity
Marcelo Tosatti wrote: Mark zapped root pagetables as invalid and ignore such pages during lookup. This is a problem with the cr3-target feature, where a zapped root table fools the faulting code into creating a read-only mapping. The result is a lockup if the instruction can't be emulated.

[kvm-devel] [patch 4/5] KVM: ignore zapped root pagetables (v2)

2008-02-20 Thread Marcelo Tosatti
Mark zapped root pagetables as invalid and ignore such pages during lookup. This is a problem with the cr3-target feature, where a zapped root table fools the faulting code into creating a read-only mapping. The result is a lockup if the instruction can't be emulated. v1-v2: - reload mmu of

Re: [kvm-devel] [patch 4/5] KVM: ignore zapped root pagetables

2008-02-17 Thread Avi Kivity
Marcelo Tosatti wrote: Mark zapped root pagetables as invalid and ignore such pages during lookup. This is a problem with the cr3-target feature, where a zapped root table fools the faulting code into creating a read-only mapping. The result is a lockup if the instruction can't be emulated.

[kvm-devel] [patch 4/5] KVM: ignore zapped root pagetables

2008-02-16 Thread Marcelo Tosatti
Mark zapped root pagetables as invalid and ignore such pages during lookup. This is a problem with the cr3-target feature, where a zapped root table fools the faulting code into creating a read-only mapping. The result is a lockup if the instruction can't be emulated. Signed-off-by: Marcelo