From: Keir Fraser Date: Sat, 24 May 2008 08:25:04 +0000 (+0100) Subject: Remove physmap page upon granttab xfer X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14207^2~42 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e144438c700a615e474c5a4d9d449ef82deb9493;p=xen.git 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 --- diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c index 0e7f19251b..879132ce1b 100644 --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -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) ) {