From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: virtio module backport Date: Thu, 03 Jan 2008 13:54:10 +0200 Message-ID: <477CCCE2.5090307@qumranet.com> References: <477BFC6E.2040508@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Anthony Liguori Return-path: In-Reply-To: <477BFC6E.2040508-r/Jw6+rmf7HQT0dZR+AlfA@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 Anthony Liguori wrote: > Hi, > > I've posted a repo that contains my initial attempt at backporting the > virtio modules. I've tested against a 2.6.22, 2.6.20, and 2.6.18 kernel > (although I haven't tried the block device against 2.6.18). It requires > Rusty's patch queue plus the three patches I just sent to > virtualization@l-f. > > The makefile supports a 'make sync LINUX=/path/to/linux' just like the > kvm-userspace/kernel directory does. > > This is still rough as I haven't went through and made sure all of the > #if's are right. > > http://hg.codemonkey.ws/virtio-ext-modules > > I think that 'typedef _Bool bool' is better than unsigned int, as it forces conversions to 0/1. Modern Linux uses _Bool as well. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/