From: Ian Campbell Subject: Re: [PATCH RFC 1/2] tools/libxc: Improved xc_{topology, numa}info functions. Date: Fri, 14 Mar 2014 14:41:13 +0000 Message-ID: <1394808073.6442.95.camel@kazak.uk.xensource.com> References: <1393499497-9162-1-git-send-email-andrew.cooper3@citrix.com> <1393499497-9162-2-git-send-email-andrew.cooper3@citrix.com> <1394613247.31942.45.camel@Abyss> <532039C5.1070100@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <532039C5.1070100@citrix.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: Andrew Cooper Cc: Dario Faggioli , Ian Jackson , Xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, 2014-03-12 at 10:41 +0000, Andrew Cooper wrote: > If there general agreement that making the old > xc_{topology,numa}info() functions have the prototype and behaviour of > my _bounced variants, then I will happy do that, I think that is the correct thing to do, thanks. In general hiding the bouncing inside libxc is nicer for everyone I think, unless they are called incredibly frequently (like the inner loop of a migrate), I don't think these fit that profile The only question is whether the function params should explode xc_topology_info or whether that struct should be redefined without guest handles for the callers to use (bouncing into the matching fields in xen_sysctl_topologyinfo_t). That's up to you, I assume it will become obvious which to pick when you look at the callers. > and send some fixup to make libxl work against it. and Python's xc bindings too I'm afraid. Ian.