From: Keir Fraser Subject: Re: Re: [PATCH] ia64 build fixes Date: Sun, 2 Apr 2006 09:31:43 +0100 Message-ID: <5e2c7b7ffaa8eb5df2dc1ef3157e04a0@cl.cam.ac.uk> References: <1143848687.18506.39.camel@localhost> <59eb0566983d683b79d83d50ac6dfadd@cl.cam.ac.uk> <1143928012.18506.56.camel@localhost> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel , Alex Williamson , xen-ia64-devel List-Id: xen-devel@lists.xenproject.org On 2 Apr 2006, at 09:20, Keir Fraser wrote: >> Here's a patch that enables HYPERVISOR_sched_op() and >> HYPERVISOR_sched_opt_compat() for ia64. We currently have no users of >> this call, but there's no harm in enabling it (tested by adding a >> HYPERVISOR_yield() call to default_idle()). I did notice a problem >> with >> the compat interface though, nothing defines __XEN_INTERFACE_VERSION__ >> for the build of xen. We're therefore stuck on interface version >> 0x00000000 where __HYPERVISOR_sched_op_compat == >> __HYPERVISOR_sched_op. > > Well, it doesn't actually matter right now since Xen itself does not > use the __HYPERVISOR_foo numbers. But yes, I can see this might bite > us later so we ought to define it. Ah, I'm forgetting you have a hypercall switch statement. I'll add the version number. With regard to your patch, actually I was thinking more about the vmx hypercall interface which already supports sched_op_compat --- should that one have sched_op added too, in vmx_hypercall.c? -- Keir