On Wed, 2007-12-19 at 16:59 +0800, Zhao, Yunfeng wrote:
> Seems the issue is not fully resolved.
> Save/restore on 64bist host may cause guest to kernel panic.
> Here is the snapshot:
> https://sourceforge.net/tracker/download.php?group_id=180599&atid=893831&file_id=259112&aid=1824525
> 
it seems like this patch fix the issue with the ugly dmesg in the host
side
can you please try it and report?
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 845beb2..a5ee518 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -470,7 +470,7 @@ static struct page *__gfn_to_page(struct kvm *kvm, gfn_t gfn)
 		return bad_page;
 	}
 
-	npages = get_user_pages(current, current->mm, addr, 1, 1, 0, page,
+	npages = get_user_pages(current, current->mm, addr, 1, 1, 1, page,
 				NULL);
 
 	if (npages != 1) {
-------------------------------------------------------------------------
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