From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Hanquez Subject: Re: [PATCH 1/4] libxl: extend physinfo structure Date: Mon, 19 Apr 2010 08:50:48 +0100 Message-ID: <4BCC0B58.9030405@eu.citrix.com> References: <4BCB76FD.1020103@amd.com> <4BCB7849.9030302@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4BCB7849.9030302@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: "xen-devel@lists.xensource.com" , Ian Jackson , Keir Fraser , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On 18/04/10 22:23, Andre Przywara wrote: > The libxl version of the physinfo sysctl does not contain some > fields like nr_nodes or capabilities needed for xl info output. > Add them to the structure and the retrieving function. > > Signed-off-by: Andre Przywara I think, It would be much nicer to provide the phys_caps already decoded instead of copying the xc value as is. so what about something like having phys_cap_hvm and phys_cap_hvm_directio field directly in the structure ? If things extends, we should add new field in libxl anyway. -- Vincent