From: Keir Fraser Subject: Re: Re: PATCH (and RFC): new dom0 hypercall: DOM0_DOMAIN_SETUP Date: Mon, 19 Jun 2006 15:45:33 +0100 Message-ID: <2d74eb264c8407068db519e0e10c0d5e@cl.cam.ac.uk> References: <200606151019.24560.Tristan.Gingold@bull.net> <1150726956.5331.3.camel@lappy> <076c5bfb089c4cc5bbe7ea6cf4be559b@cl.cam.ac.uk> <200606191643.55983.Tristan.Gingold@bull.net> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200606191643.55983.Tristan.Gingold@bull.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tristan Gingold Cc: xen-devel@lists.xensource.com, Alex Williamson , xen-ia64-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 19 Jun 2006, at 15:43, Tristan Gingold wrote: >> I'd like the patch modified as follows: >> * Change flag name to XEN_DOMAINSETUP_hvm_guest (explicitly in Xen >> namespace; more the style of other flags added recently; not VMX >> specific). >> * Place the final two fields of the struct inside ifdef __ia64__. > Why not defining an arch-dependant struct for adding more fields to > this > structure ? (I prefer to do that early than breaking compatibility > later). How does that ease binary compatibility if you want to add extra common fields later? You mean to have a pointer to the arch-dep struct? -- Keir PS. The flag name: DOM0_DOMAIN_SETUP_ would actually be a fine prefix for flags. Use whatever you prefer.