From: "Jan Beulich" Subject: Re: [PATCH v4] hypercall/mem: Introduce XENMEM_machphys_compat_mfn_list Date: Tue, 29 Apr 2014 10:59:02 +0100 Message-ID: <535F9406020000780000D460@nat28.tlf.novell.com> References: <1398764794-25380-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1398764794-25380-1-git-send-email-andrew.cooper3@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Keir Fraser , Tim Deegan , Ian Jackson , Ian Campbell , Xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 29.04.14 at 11:46, wrote: > Changes in v4: > * Use same visibility as XENMEM_machphys_mfn_list. Leave note about next > subop. I'm fine with this now with one possible minor correction (could be done while committing, so no need to resubmit just because of this): > --- a/xen/include/public/memory.h > +++ b/xen/include/public/memory.h > @@ -187,6 +187,16 @@ typedef struct xen_machphys_mfn_list xen_machphys_mfn_list_t; > DEFINE_XEN_GUEST_HANDLE(xen_machphys_mfn_list_t); > > /* > + * For a compat toolstack domain, this is identical to > + * XENMEM_machphys_mfn_list. > + * > + * For a non compat toolstack domain, this functions similarly to > + * XENMEM_machphys_mfn_list, but returns the mfns making up the compatibility > + * m2p table. > + */ > +#define XENMEM_machphys_compat_mfn_list 25 I think it is now at least misleading to say "toolstack domain" in the comment above - in both cases I'd prefer this to just say "caller". Jan