From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: [PATCH 11 of 22 v2] xenpaging: do not bounce p2mt back to the hypervisor Date: Mon, 20 Jun 2011 11:57:25 +0200 Message-ID: <20110620095725.GA12615@aepfle.de> References: <17c9aa11b28a867864b1.1307697180@probook.site> <20110613104814.GC17634@whitby.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <20110613104814.GC17634@whitby.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tim Deegan Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org do not bounce p2mt back to the hypervisor because p2m_mem_paging_populate() and p2m_mem_paging_resume() dont make use of p2mt. Signed-off-by: Olaf Hering diff -r 0f5b7a5a80ea tools/xenpaging/xenpaging.c --- a/tools/xenpaging/xenpaging.c Mon Jun 20 11:07:24 2011 +0200 +++ b/tools/xenpaging/xenpaging.c Mon Jun 20 11:08:54 2011 +0200 @@ -694,7 +694,6 @@ int main(int argc, char *argv[]) /* Prepare the response */ rsp.gfn = req.gfn; - rsp.p2mt = req.p2mt; rsp.vcpu_id = req.vcpu_id; rsp.flags = req.flags; @@ -711,10 +710,8 @@ int main(int argc, char *argv[]) else { DPRINTF("page already populated (domain = %d; vcpu = %d;" - " p2mt = %x;" " gfn = %"PRIx64"; paused = %d)\n", paging->mem_event.domain_id, req.vcpu_id, - req.p2mt, req.gfn, req.flags & MEM_EVENT_FLAG_VCPU_PAUSED); /* Tell Xen to resume the vcpu */ @@ -723,7 +720,6 @@ int main(int argc, char *argv[]) { /* Prepare the response */ rsp.gfn = req.gfn; - rsp.p2mt = req.p2mt; rsp.vcpu_id = req.vcpu_id; rsp.flags = req.flags;