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

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

To: Olaf Hering <olaf@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 11 of 22 v2] xenpaging: do not bounce p2mt back to the hypervisor
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Mon, 20 Jun 2011 11:36:13 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 20 Jun 2011 03:36:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110620095725.GA12615@xxxxxxxxx>
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> <20110620095725.GA12615@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-09-15)
At 11:57 +0200 on 20 Jun (1308571045), Olaf Hering wrote:
> 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>

Acked-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>

> 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

-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

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

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