From: Ian Jackson Subject: Re: [PATCH 14 of 32 RFC] libxl: HVM device configuration info build_info->u.hvm Date: Mon, 16 Jan 2012 16:53:33 +0000 Message-ID: <20244.22029.761565.805780@mariner.uk.xensource.com> References: <540c9fa96606437f3197.1326716112@cosworth.uk.xensource.com> <20244.20607.725332.428230@mariner.uk.xensource.com> <1326732404.14689.34.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1326732404.14689.34.camel@zakaz.uk.xensource.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: Ian Campbell Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [PATCH 14 of 32 RFC] libxl: HVM device configuration info build_info->u.hvm"): > While we are at it -- do you have any thoughts on how per-arch options > should be handled? I was thinking of adding the possibility in the IDL > to tag a field with a list of architectures? If we eventually tunnel these structures over some kind of IPC mechanism it might be necessary to deal with values from other than the native architecture. So perhaps per-arch fields should exist in every version and just have the arch in their name somehow, although that wouldn't spot people setting them inappropriately. Alternative a variadic substructure where _init sets the enum to the default native arch ? Ian.