From: Ian Jackson Subject: Re: future plans for libxl? Date: Fri, 16 Apr 2010 17:27:37 +0100 Message-ID: <19400.36857.646293.243378@mariner.uk.xensource.com> References: <4BC578DF.9000508@amd.com> <19400.16413.296693.915918@mariner.uk.xensource.com> <4BC85C17.7070603@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4BC85C17.7070603@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andre Przywara Cc: "Xu, Jiajun" , "xen-devel@lists.xensource.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Andre Przywara writes ("Re: [Xen-devel] future plans for libxl?"): > I have a working version of xl info ready. Great! > I have still to think about the best approach for some fields to > propagate in libxl_get_version_info and libxl_get_physinfo (bitfields > vs. strings). I am not sure what the casual library user would like > more: Masking bits or strstr'ing for names? For reporting (as in xl > info) compiled strings are easier. > Any suggestions? (I especially think about xen_caps, virt_caps and > xen_scheduler) I think the C interface, that is, the interface to libxl, should be in terms of bitfields. xl should do conversion to strings. Ian.