From: Mukesh Rathor Subject: struct xen_add_to_physmap UNION Date: Thu, 11 Oct 2012 16:26:38 -0700 Message-ID: <20121011162638.76ec328c@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell , "stefano.stabellini@eu.citrix.com" , "Xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Hi, What's the latest on the union of size/foreign_domid. I don't see it checked in xen unstable. Final decision is to unionize it, right? It doesn't matter for PVH either way. +++ b/xen/include/public/memory.h Thu Oct 11 16:24:47 2012 -0700 @@ -208,14 +208,19 @@ struct xen_add_to_physmap { /* Which domain to change the mapping for. */ domid_t domid; - /* Number of pages to go through for gmfn_range */ - uint16_t size; + union { + /* Number of pages to go through for gmfn_range */ + uint16_t size; + /* IFF XENMAPSPACE_gmfn_foreign */ + domid_t foreign_domid; + } u; thanks, Mukesh