ia64/xen-unstable
changeset 17723:572701272661
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@netronome.com>
Mapping should be removed from current domain's p2m table when doing a
grant table transfer.
Signed-off-by: Espen Skoglund <espen.skoglund@netronome.com>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Sat May 24 09:25:04 2008 +0100 (2008-05-24) |
parents | 4c1bb3e4a5a0 |
children | 5590509941b1 |
files | xen/common/grant_table.c |
line diff
1.1 --- a/xen/common/grant_table.c Sat May 24 09:24:25 2008 +0100 1.2 +++ b/xen/common/grant_table.c Sat May 24 09:25:04 2008 +0100 1.3 @@ -1074,6 +1074,8 @@ gnttab_transfer( 1.4 goto copyback; 1.5 } 1.6 1.7 + guest_physmap_remove_page(d, gop.mfn, mfn, 0); 1.8 + 1.9 /* Find the target domain. */ 1.10 if ( unlikely((e = rcu_lock_domain_by_id(gop.domid)) == NULL) ) 1.11 {