On 01/27/2013 09:28 PM, Gleb Natapov wrote:
@@ -1256,19 +1243,18 @@ static int kvm_set_pte_rmapp(struct kvm *kvm,
unsigned long *rmapp,
if (pte_write(*ptep)) {
drop_spte(kvm, sptep);
-sptep = rmap_get_first(*rmapp, iter);
-
On Wed, Jan 23, 2013 at 06:09:34PM +0800, Xiao Guangrong wrote:
Walking parent spte and walking ramp have same logic, this patch introduces
for_each_spte_in_pte_list to integrate their code
Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com
---
arch/x86/kvm/mmu.c | 199
Walking parent spte and walking ramp have same logic, this patch introduces
for_each_spte_in_pte_list to integrate their code
Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com
---
arch/x86/kvm/mmu.c | 199 ++