WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 11 of 22 v2] xenpaging: do not bounce p2mt back to th

To: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Subject: [Xen-devel] [PATCH 11 of 22 v2] xenpaging: do not bounce p2mt back to the hypervisor
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Mon, 20 Jun 2011 11:57:25 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 20 Jun 2011 02:59:00 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1308563847; l=1060; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:Cc:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=adH/4Mj37J2oXgTfsNFjAABGds4=; b=qslQPKlQL5dh4gzgZp/Us5FEN7NosEIUhGPbfidU8k6nWrh/bNbhIDCzvGQoyRVtvju X7/mQXsECP9iHNVTxD8va5s93hVPzaA9TGTnMt2hLP/m81j74bjMr3XMgoLtQyLFqIse0 g4X8Fqc5SV3TxohWTvL09X5uggEw3/0h24U=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110613104814.GC17634@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1307697169@xxxxxxxxxxxx> <17c9aa11b28a867864b1.1307697180@xxxxxxxxxxxx> <20110613104814.GC17634@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-12-30)
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 <olaf@xxxxxxxxx>

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;
 

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

<Prev in Thread] Current Thread [Next in Thread>