All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@qumranet.com>
To: "Zhang, Xiantao" <xiantao.zhang@intel.com>
Cc: kvm-devel@lists.sourceforge.net, kvm-ia64-devel@lists.sourceforge.net
Subject: Re: [kvm-ia64-devel] Cross-arch support for make sync in userspace
Date: Thu, 20 Mar 2008 08:57:04 +0200	[thread overview]
Message-ID: <47E20AC0.8050302@qumranet.com> (raw)
In-Reply-To: <42DFA526FC41B1429CE7279EF83C6BDCFA874C@pdsmsx415.ccr.corp.intel.com>

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?

Note you will also need to add preempt notifier emulation for older kernels.

-- 
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/

  reply	other threads:[~2008-03-20  6:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-20  2:33 Cross-arch support for make sync in userspace Zhang, Xiantao
2008-03-20  5:45 ` Avi Kivity
2008-03-20  6:37   ` [kvm-ia64-devel] " Zhang, Xiantao
2008-03-20  6:57     ` Avi Kivity [this message]
2008-03-20  7:13       ` Zhang, Xiantao
2008-03-20  7:36         ` Avi Kivity
2008-03-20  8:03           ` [kvm-ia64-devel] Cross-arch support for make syncin userspace Zhang, Xiantao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47E20AC0.8050302@qumranet.com \
    --to=avi@qumranet.com \
    --cc=kvm-devel@lists.sourceforge.net \
    --cc=kvm-ia64-devel@lists.sourceforge.net \
    --cc=xiantao.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.