From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlo Marcelo Arenas Belon Subject: Re: How to handle kvm-abi-10 case for other archs. Date: Tue, 4 Dec 2007 12:49:39 -0600 Message-ID: <20071204184939.GA10466@tapir> References: <42DFA526FC41B1429CE7279EF83C6BDCA39867@pdsmsx415.ccr.corp.intel.com> <47513308.9020407@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org, Hollis Blanchard , "Zhang, Xiantao" , Jeremy Katz To: Avi Kivity Return-path: Content-Disposition: inline In-Reply-To: <47513308.9020407-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org 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