From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: virtio module backport Date: Thu, 03 Jan 2008 09:16:06 -0600 Message-ID: <477CFC36.7070002@us.ibm.com> References: <477BFC6E.2040508@us.ibm.com> <477CCCE2.5090307@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Avi Kivity Return-path: In-Reply-To: <477CCCE2.5090307-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 Avi Kivity wrote: > 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. > Fair enough. I've updated. Regards, Anthony Liguori ------------------------------------------------------------------------- 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/