* How to handle kvm-abi-10 case for other archs.
@ 2007-12-01 4:00 Zhang, Xiantao
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDCA39867-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Zhang, Xiantao @ 2007-12-01 4:00 UTC (permalink / raw)
To: Avi Kivity
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
carsteno-tA70FqPdS9bQT0dZR+AlfA, Hollis Blanchard
Hi, Avi
I think new archs for kvm doesn't need to care about kvm-abi
case in their code, since current abi is bigger than 10. But in current
libkvm.c, we can see that many abi-specific code in it. How to handle it
? Can we use __x86__ macro to make it sightless for other archs or
other good methods ?
Thanks
Xiantao
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
^ permalink raw reply [flat|nested] 8+ messages in thread[parent not found: <42DFA526FC41B1429CE7279EF83C6BDCA39867-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: How to handle kvm-abi-10 case for other archs. [not found] ` <42DFA526FC41B1429CE7279EF83C6BDCA39867-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2007-12-01 10:10 ` Avi Kivity [not found] ` <47513308.9020407-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 8+ messages in thread From: Avi Kivity @ 2007-12-01 10:10 UTC (permalink / raw) To: Zhang, Xiantao Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, carsteno-tA70FqPdS9bQT0dZR+AlfA, Hollis Blanchard, Jeremy Katz Zhang, Xiantao wrote: > Hi, Avi > I think new archs for kvm doesn't need to care about kvm-abi > case in their code, since current abi is bigger than 10. But in current > libkvm.c, we can see that many abi-specific code in it. How to handle it > ? Can we use __x86__ macro to make it sightless for other archs or > other good methods ? > #ifdef is okay for this. Actually we can probably remove abi 10 support since the F7 kernel now supports the modern ABI (I don't think anybody else uses abi 10, which is pre 2.6.22 when we announced ABI compatibility. Jeremy, is removing abi 10 support fine with you? I note that both the kernel supports the new ABI and F7 userspace doesn't require it, so we're fine on both counts. -- Any sufficiently difficult bug is indistinguishable from a feature. ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <47513308.9020407-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: How to handle kvm-abi-10 case for other archs. [not found] ` <47513308.9020407-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-12-03 13:09 ` Jeremy Katz [not found] ` <1196687351.3300.18.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> 2007-12-04 18:49 ` Carlo Marcelo Arenas Belon 1 sibling, 1 reply; 8+ messages in thread From: Jeremy Katz @ 2007-12-03 13:09 UTC (permalink / raw) To: Avi Kivity Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, carsteno-tA70FqPdS9bQT0dZR+AlfA, Hollis Blanchard, Zhang, Xiantao On Sat, 2007-12-01 at 12:10 +0200, Avi Kivity wrote: > Zhang, Xiantao wrote: > > I think new archs for kvm doesn't need to care about kvm-abi > > case in their code, since current abi is bigger than 10. But in current > > libkvm.c, we can see that many abi-specific code in it. How to handle it > > ? Can we use __x86__ macro to make it sightless for other archs or > > other good methods ? > > > > #ifdef is okay for this. Actually we can probably remove abi 10 support > since the F7 kernel now supports the modern ABI (I don't think anybody > else uses abi 10, which is pre 2.6.22 when we announced ABI compatibility. > > Jeremy, is removing abi 10 support fine with you? I note that both the > kernel supports the new ABI and F7 userspace doesn't require it, so > we're fine on both counts. Yeah, that sounds like it should be fine. The updates have been out for quite a while at this point Jeremy ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <1196687351.3300.18.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>]
* Re: How to handle kvm-abi-10 case for other archs. [not found] ` <1196687351.3300.18.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> @ 2007-12-03 13:30 ` Zhang, Xiantao [not found] ` <42DFA526FC41B1429CE7279EF83C6BDCA39CD4-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org> 0 siblings, 1 reply; 8+ messages in thread From: Zhang, Xiantao @ 2007-12-03 13:30 UTC (permalink / raw) To: Jeremy Katz, Avi Kivity Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, carsteno-tA70FqPdS9bQT0dZR+AlfA, Hollis Blanchard Jeremy Katz wrote: > On Sat, 2007-12-01 at 12:10 +0200, Avi Kivity wrote: >> Zhang, Xiantao wrote: >>> I think new archs for kvm doesn't need to care about kvm-abi >>> case in their code, since current abi is bigger than 10. But in >>> current libkvm.c, we can see that many abi-specific code in it. How >>> to handle it ? Can we use __x86__ macro to make it sightless for >>> other archs or other good methods ? >>> >> >> #ifdef is okay for this. Actually we can probably remove abi 10 >> support since the F7 kernel now supports the modern ABI (I don't >> think anybody else uses abi 10, which is pre 2.6.22 when we >> announced ABI compatibility. >> >> Jeremy, is removing abi 10 support fine with you? I note that both >> the kernel supports the new ABI and F7 userspace doesn't require it, >> so >> we're fine on both counts. > > Yeah, that sounds like it should be fine. The updates have been out > for quite a while at this point Glad to see that. I am working on enabling ia64. If it is removed, it will be cleaner for us. ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <42DFA526FC41B1429CE7279EF83C6BDCA39CD4-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: How to handle kvm-abi-10 case for other archs. [not found] ` <42DFA526FC41B1429CE7279EF83C6BDCA39CD4-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2007-12-04 18:24 ` Avi Kivity [not found] ` <47559B48.90702-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 8+ messages in thread From: Avi Kivity @ 2007-12-04 18:24 UTC (permalink / raw) To: Zhang, Xiantao Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Jeremy Katz, carsteno-tA70FqPdS9bQT0dZR+AlfA, Hollis Blanchard Zhang, Xiantao wrote: > Jeremy Katz wrote: > >> On Sat, 2007-12-01 at 12:10 +0200, Avi Kivity wrote: >> >>> Zhang, Xiantao wrote: >>> >>>> I think new archs for kvm doesn't need to care about kvm-abi >>>> case in their code, since current abi is bigger than 10. But in >>>> current libkvm.c, we can see that many abi-specific code in it. How >>>> to handle it ? Can we use __x86__ macro to make it sightless for >>>> other archs or other good methods ? >>>> > Glad to see that. I am working on enabling ia64. If it is removed, it > will be cleaner for us. > abi 10 support is now gone. -- Any sufficiently difficult bug is indistinguishable from a feature. ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <47559B48.90702-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: How to handle kvm-abi-10 case for other archs. [not found] ` <47559B48.90702-atKUWr5tajBWk0Htik3J/w@public.gmane.org> @ 2007-12-05 0:04 ` Zhang, Xiantao 0 siblings, 0 replies; 8+ messages in thread From: Zhang, Xiantao @ 2007-12-05 0:04 UTC (permalink / raw) To: Avi Kivity Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Jeremy Katz, carsteno-tA70FqPdS9bQT0dZR+AlfA, Hollis Blanchard Avi Kivity wrote: > Zhang, Xiantao wrote: >> Jeremy Katz wrote: >> >>> On Sat, 2007-12-01 at 12:10 +0200, Avi Kivity wrote: >>> >>>> Zhang, Xiantao wrote: >>>> >>>>> I think new archs for kvm doesn't need to care about kvm-abi >>>>> case in their code, since current abi is bigger than 10. But in >>>>> current libkvm.c, we can see that many abi-specific code in it. >>>>> How to handle it ? Can we use __x86__ macro to make it sightless >>>>> for other archs or other good methods ? >>>>> >> Glad to see that. I am working on enabling ia64. If it is removed, >> it will be cleaner for us. >> > > abi 10 support is now gone. Thank you. That absoulutely simplify our work. :) Xiantao ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to handle kvm-abi-10 case for other archs. [not found] ` <47513308.9020407-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 2007-12-03 13:09 ` Jeremy Katz @ 2007-12-04 18:49 ` Carlo Marcelo Arenas Belon 2007-12-05 14:16 ` Avi Kivity 1 sibling, 1 reply; 8+ messages in thread From: Carlo Marcelo Arenas Belon @ 2007-12-04 18:49 UTC (permalink / raw) To: Avi Kivity Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, carsteno-tA70FqPdS9bQT0dZR+AlfA, Hollis Blanchard, Zhang, Xiantao, Jeremy Katz On Sat, Dec 01, 2007 at 12:10:16PM +0200, Avi Kivity wrote: > Zhang, Xiantao wrote: > > Hi, Avi > > I think new archs for kvm doesn't need to care about kvm-abi > > case in their code, since current abi is bigger than 10. But in current > > libkvm.c, we can see that many abi-specific code in it. How to handle it > > ? Can we use __x86__ macro to make it sightless for other archs or > > other good methods ? > > > > #ifdef is okay for this. Actually we can probably remove abi 10 support > since the F7 kernel now supports the modern ABI (I don't think anybody > else uses abi 10, which is pre 2.6.22 when we announced ABI compatibility. ubuntu feisty uses kernel 2.6.20 and is packaging kvm-16 : http://packages.ubuntu.com/feisty/misc/kvm their last release (gutsy) uses 2.6.22 though. Carlo ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to handle kvm-abi-10 case for other archs. 2007-12-04 18:49 ` Carlo Marcelo Arenas Belon @ 2007-12-05 14:16 ` Avi Kivity 0 siblings, 0 replies; 8+ messages in thread From: Avi Kivity @ 2007-12-05 14:16 UTC (permalink / raw) To: Carlo Marcelo Arenas Belon Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, carsteno-tA70FqPdS9bQT0dZR+AlfA, Zhang, Xiantao, Hollis Blanchard, Jeremy Katz Carlo Marcelo Arenas Belon wrote: >> #ifdef is okay for this. Actually we can probably remove abi 10 support >> since the F7 kernel now supports the modern ABI (I don't think anybody >> else uses abi 10, which is pre 2.6.22 when we announced ABI compatibility. >> > > ubuntu feisty uses kernel 2.6.20 and is packaging kvm-16 : > > http://packages.ubuntu.com/feisty/misc/kvm > kvm only started the ABI guarantee in 2.6.22. Anyway this will only hit people trying to run kvm-56+ userspace atop 2.6.20, which is fairly ridiculous in terms of how far kvm went in that time. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-12-05 14:16 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-01 4:00 How to handle kvm-abi-10 case for other archs Zhang, Xiantao
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDCA39867-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-12-01 10:10 ` Avi Kivity
[not found] ` <47513308.9020407-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-12-03 13:09 ` Jeremy Katz
[not found] ` <1196687351.3300.18.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2007-12-03 13:30 ` Zhang, Xiantao
[not found] ` <42DFA526FC41B1429CE7279EF83C6BDCA39CD4-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-12-04 18:24 ` Avi Kivity
[not found] ` <47559B48.90702-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-12-05 0:04 ` Zhang, Xiantao
2007-12-04 18:49 ` Carlo Marcelo Arenas Belon
2007-12-05 14:16 ` Avi Kivity
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox