[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.