Re: [PATCH v3 1/5] KVM: MMU: introduce mmu_spte_establish

2013-02-08 Thread Marcelo Tosatti
On Tue, Feb 05, 2013 at 04:53:19PM +0800, Xiao Guangrong wrote: > There is little different between walking parent pte and walking ramp: > all spte in rmap must be present but this is not true on parent pte list, > in kvm_mmu_alloc_page, we always link the parent list before set the spte > to prese

[PATCH v3 1/5] KVM: MMU: introduce mmu_spte_establish

2013-02-05 Thread Xiao Guangrong
There is little different between walking parent pte and walking ramp: all spte in rmap must be present but this is not true on parent pte list, in kvm_mmu_alloc_page, we always link the parent list before set the spte to present This patch introduce mmu_spte_establish which set the spte before li