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

[Xen-changelog] [xen-unstable] Remove physmap page upon granttab xfer



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1211617504 -3600
# Node ID 572701272661884f40796c2090cb2c1a366b5e6a
# Parent  4c1bb3e4a5a09a5920ca6d3abdb41eca1f6efd33
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>
---
 xen/common/grant_table.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 4c1bb3e4a5a0 -r 572701272661 xen/common/grant_table.c
--- a/xen/common/grant_table.c  Sat May 24 09:24:25 2008 +0100
+++ b/xen/common/grant_table.c  Sat May 24 09:25:04 2008 +0100
@@ -1074,6 +1074,8 @@ gnttab_transfer(
             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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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