Avi Kivity wrote:
> On 04/25/2010 10:02 AM, Xiao Guangrong wrote:
>> Let invlpg not depends on kvm_mmu_pte_write path, later patch will need
>> this feature
>>
>>
>> if (mmu_topup_memory_caches(vcpu))
>> return;
>> -kvm_mmu_pte_write(vcpu, pte_gpa, NULL, sizeof(pt_element_t),
On 04/25/2010 10:02 AM, Xiao Guangrong wrote:
Let invlpg not depends on kvm_mmu_pte_write path, later patch will need
this feature
if (mmu_topup_memory_caches(vcpu))
return;
- kvm_mmu_pte_write(vcpu, pte_gpa, NULL, sizeof(pt_element_t), 0);
+
+ kvm_read_guest
Let invlpg not depends on kvm_mmu_pte_write path, later patch will need
this feature
Signed-off-by: Xiao Guangrong
---
arch/x86/kvm/mmu.c | 12 +++-
arch/x86/kvm/paging_tmpl.h | 33 ++---
2 files changed, 29 insertions(+), 16 deletions(-)
diff --g