From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [kvm-ia64-devel] Cross-arch support for make sync in userspace Date: Thu, 20 Mar 2008 09:36:29 +0200 Message-ID: <47E213FD.1080605@qumranet.com> References: <42DFA526FC41B1429CE7279EF83C6BDCFA8613@pdsmsx415.ccr.corp.intel.com><47E1FA04.9040204@qumranet.com><42DFA526FC41B1429CE7279EF83C6BDCFA874C@pdsmsx415.ccr.corp.intel.com> <47E20AC0.8050302@qumranet.com> <42DFA526FC41B1429CE7279EF83C6BDCFA8777@pdsmsx415.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net, kvm-ia64-devel@lists.sourceforge.net To: "Zhang, Xiantao" Return-path: In-Reply-To: <42DFA526FC41B1429CE7279EF83C6BDCFA8777@pdsmsx415.ccr.corp.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Zhang, Xiantao wrote: > Avi Kivity wrote: > >> Zhang, Xiantao wrote: >> >>> Avi Kivity wrote: >>> >>> >>>> Zhang, Xiantao wrote: >>>> >>>> >>>>> Hi, Avi >>>>> Currently, make sync in userspace only syncs x86-specific heads >>>>> from kernel source due to hard-coded in Makefile. >>>>> Do you have plan to provide cross-arch support for that? >>>>> >>>>> >>>> No plans. I'll apply patches though. But don't you need kernel >>>> changes which make it impossible to run kvm-ia64 on older kernels? >>>> >>>> >>>> >>>>> Other archs may >>>>> need it for save/restore :) >>>>> >>>>> >>>>> >>>> Save/restore? Don't understand. >>>> >>>> >>> You know, currently make sync would sync header files to userspace >>> from include/asm-x86/, so kvm.h and kvm_host.h are always synced >>> from there for any archs. Since some arch-specific stuff for >>> save/restore should be defined in include/asm-$arch/(kvm.h; >>> kvm_host.h), so ia64 or other archs should need it when they >>> implement save/restore. >>> >> I see. But is 'make sync' actually useful for you? Can you run >> kvm-ia64 on top of 2.6.24, which doesn't include your ia64 core API >> changes? >> > > Now we don't intend to provide support for kernel which is older than > 2.6.24. And we don't want to compile kernel module in userspace. > But at least we need to ensure "make sync" work first, because we need > it to guarantee Qemu to use right header files for its compilation. > Xiantao > I see. ./configure --with-patched-kernel should work for that, but I have no issue with copying include/asm-ia64 either. -- Any sufficiently difficult bug is indistinguishable from a feature. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/