On Tue, Dec 18, 2007 at 08:26:14AM -0500, Marcelo Tosatti wrote:

> +     page = __gfn_to_page(vcpu->kvm, gpa >> PAGE_SHIFT);
> +     spin_lock(&vcpu->kvm->mmu_lock);
>       kvm_mmu_pte_write(vcpu, gpa, val, bytes);

This should be the gfn which the new pte points to, not its address.


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to