From: Keir Fraser Subject: Re: PATCH: was Re**2: PATCH (and RFC): new dom0 hypercall: DOM0_DOMAIN_SETUP Date: Mon, 19 Jun 2006 16:32:31 +0100 Message-ID: References: <200606151019.24560.Tristan.Gingold@bull.net> <200606191643.55983.Tristan.Gingold@bull.net> <2d74eb264c8407068db519e0e10c0d5e@cl.cam.ac.uk> <200606191720.32894.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: <200606191720.32894.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 16:20, Tristan Gingold wrote: >> 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? > Err, this was a bad argument. I was thinking about avoiding #if arch > /#endif > in this public header. I'm not too concerned about a few ifdefs here and there in the header files. I think sometimes it's easier just to have all the architectural cases in one place rather than having to go to separate arch-specific header files, even if it is "inelegant". >> PS. The flag name: DOM0_DOMAIN_SETUP_ would actually be a fine prefix >> for flags. Use whatever you prefer. > Here is the patch. I hope it looks like you expect it :-) Looks fine. -- Keir