[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Remove physmap page upon granttab xfer



Mapping should be removed from current domain's p2m table when doing a
grant table transfer.

Signed-off-by: Espen Skoglund <espen.skoglund@xxxxxxxxxxxxx>


================================================================
diff -r 2e6a51378451 xen/common/grant_table.c
--- a/xen/common/grant_table.c  Thu May 22 15:11:06 2008 +0100
+++ b/xen/common/grant_table.c  Fri May 23 13:23:56 2008 +0100
@@ -1073,6 +1073,8 @@
             gop.status = GNTST_bad_page;
             goto copyback;
         }
+
+        guest_physmap_remove_page(d, gop.mfn, mfn, 0);
 
         /* Find the target domain. */
         if ( unlikely((e = rcu_lock_domain_by_id(gop.domid)) == NULL) )


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.