On 07/12/2010 08:10 AM, Xiao Guangrong wrote:
Avi Kivity wrote:
- }
+ validate_direct_spte(vcpu, sptep, direct_access);
+
+ direct_gfn = gw->gfn& ~(KVM_PAGES_PER_HPAGE(level) - 1);
+ sp = kvm_mmu_get_page(vcpu, direct_gfn, addr, level-1,
+ true, direct_access, sptep);
link_shadow_page(sptep, sp);
}
validate_direct_spte() should be before the 'continue' above, probably.
Sure :-)
Actually, I think this matches current code. So I'll change it in a
separate patch.
--
error compiling committee.c: too many arguments to function
--
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