From: Ian Campbell Subject: Re: [PATCH v1 1/8]: PVH basic and hader file changes Date: Thu, 4 Oct 2012 11:00:40 +0100 Message-ID: <1349344840.650.239.camel@zakaz.uk.xensource.com> References: <20120921121511.30001c08@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120921121511.30001c08@mantra.us.oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Mukesh Rathor Cc: "Xen-devel@lists.xensource.com" , Stefano Stabellini , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On Fri, 2012-09-21 at 20:15 +0100, Mukesh Rathor wrote: > @@ -234,4 +245,20 @@ DEFINE_GUEST_HANDLE_STRUCT(xen_memory_map); > * during a driver critical region. > */ > extern spinlock_t xen_reservation_lock; > + > +/* > + * Unmaps the page appearing at a particular GPFN from the specified > guest's > + * pseudophysical address space. > + * arg == addr of xen_remove_from_physmap_t. > + */ > +#define XENMEM_remove_from_physmap 15 > +struct xen_remove_from_physmap { > + /* Which domain to change the mapping for. */ > + domid_t domid; > + > + /* GPFN of the current mapping of the page. */ > + unsigned long gpfn; > +}; > +DEFINE_GUEST_HANDLE_STRUCT(xen_remove_from_physmap); I needed this fixup in a tree with both the ARM and PVH stuff: 8<------------------------------------ >From d56a302734180171855e0ee07571ac0cee69b3e5 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 4 Oct 2012 10:45:52 +0100 Subject: [PATCH] xen: use xen_pft_t in struct xen_remove_from_physmap 4a6c2b4 "PVH basic and hader file changes" and bd3f79b "xen: Introduce xen_pfn_t for pfn and mfn types" passed like ships in the night. Signed-off-by: Ian Campbell --- include/xen/interface/memory.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/xen/interface/memory.h b/include/xen/interface/memory.h index 6d74c47..d38bdc1 100644 --- a/include/xen/interface/memory.h +++ b/include/xen/interface/memory.h @@ -258,7 +258,7 @@ struct xen_remove_from_physmap { domid_t domid; /* GPFN of the current mapping of the page. */ - unsigned long gpfn; + xen_pfn_t gpfn; }; DEFINE_GUEST_HANDLE_STRUCT(xen_remove_from_physmap); -- 1.7.2.5