* Cross-arch support for make sync in userspace
@ 2008-03-20 2:33 Zhang, Xiantao
2008-03-20 5:45 ` Avi Kivity
0 siblings, 1 reply; 7+ messages in thread
From: Zhang, Xiantao @ 2008-03-20 2:33 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm-devel, kvm-ia64-devel
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? Other archs may
need it for save/restore :)
Thanks
Xiantao
-------------------------------------------------------------------------
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Cross-arch support for make sync in userspace
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
0 siblings, 1 reply; 7+ messages in thread
From: Avi Kivity @ 2008-03-20 5:45 UTC (permalink / raw)
To: Zhang, Xiantao; +Cc: kvm-devel, kvm-ia64-devel
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.
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [kvm-ia64-devel] Cross-arch support for make sync in userspace
2008-03-20 5:45 ` Avi Kivity
@ 2008-03-20 6:37 ` Zhang, Xiantao
2008-03-20 6:57 ` Avi Kivity
0 siblings, 1 reply; 7+ messages in thread
From: Zhang, Xiantao @ 2008-03-20 6:37 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm-devel, kvm-ia64-devel
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.
Xiantao
-------------------------------------------------------------------------
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [kvm-ia64-devel] Cross-arch support for make sync in userspace
2008-03-20 6:37 ` [kvm-ia64-devel] " Zhang, Xiantao
@ 2008-03-20 6:57 ` Avi Kivity
2008-03-20 7:13 ` Zhang, Xiantao
0 siblings, 1 reply; 7+ messages in thread
From: Avi Kivity @ 2008-03-20 6:57 UTC (permalink / raw)
To: Zhang, Xiantao; +Cc: kvm-devel, kvm-ia64-devel
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [kvm-ia64-devel] Cross-arch support for make sync in userspace
2008-03-20 6:57 ` Avi Kivity
@ 2008-03-20 7:13 ` Zhang, Xiantao
2008-03-20 7:36 ` Avi Kivity
0 siblings, 1 reply; 7+ messages in thread
From: Zhang, Xiantao @ 2008-03-20 7:13 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm-devel, kvm-ia64-devel
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
-------------------------------------------------------------------------
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [kvm-ia64-devel] Cross-arch support for make sync in userspace
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
0 siblings, 1 reply; 7+ messages in thread
From: Avi Kivity @ 2008-03-20 7:36 UTC (permalink / raw)
To: Zhang, Xiantao; +Cc: kvm-devel, kvm-ia64-devel
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [kvm-ia64-devel] Cross-arch support for make syncin userspace
2008-03-20 7:36 ` Avi Kivity
@ 2008-03-20 8:03 ` Zhang, Xiantao
0 siblings, 0 replies; 7+ messages in thread
From: Zhang, Xiantao @ 2008-03-20 8:03 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm-devel, kvm-ia64-devel
Avi Kivity wrote:
> Zhang, Xiantao wrote:
>> Avi Kivity wrote:
>>
>
> I see. ./configure --with-patched-kernel should work for that, but I
> have no issue with copying include/asm-ia64 either.
Copy should be ugly, since it needs extral documentation to describle.
If --with-patched-kernel can call a script, that should be fine as well.
Xiantao
-------------------------------------------------------------------------
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-03-20 8:03 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox