Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757345AbZDBO1d (ORCPT ); Thu, 2 Apr 2009 10:27:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754186AbZDBO1V (ORCPT ); Thu, 2 Apr 2009 10:27:21 -0400 Received: from mx2.redhat.com ([66.187.237.31]:46803 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753162AbZDBO1U (ORCPT ); Thu, 2 Apr 2009 10:27:20 -0400 Message-ID: <49D4CB38.5030205@redhat.com> Date: Thu, 02 Apr 2009 17:27:04 +0300 From: Avi Kivity User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Patrick Mullaney CC: anthony@codemonkey.ws, andi@firstfloor.org, herbert@gondor.apana.org.au, Gregory Haskins , Peter Morreale , rusty@rustcorp.com.au, agraf@suse.de, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [RFC PATCH 00/17] virtual-bus References: <49D469D2020000A100045FA1@lucius.provo.novell.com> <49D473EA020000C700056627@lucius.provo.novell.com> <49D473EA020000C700056627@lucius.provo.novell.com> In-Reply-To: <49D473EA020000C700056627@lucius.provo.novell.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2233 Lines: 60 Patrick Mullaney wrote: > On Thu, 2009-04-02 at 16:27 +0300, Avi Kivity wrote: > > >> virtio is a stable ABI. >> >> >>> However, theres still the possibility we can make this work in an ABI >>> friendly way with cap-bits, or other such features. For instance, the >>> virtio-net driver could register both with pci and vbus-proxy and >>> instantiate a device with a slightly different ops structure for each or >>> something. Alternatively we could write a host-side shim to expose vbus >>> devices as pci devices or something like that. >>> >>> >> Sounds complicated... >> >> > > IMO, it doesn't sound anymore complicated than making virtio support the > concepts already provided by vbus/venet-tap driver. Isn't there already > precedent for alternative approaches co-existing and having the users > decide which is the most appropriate for their use case? Switching > drivers in order to improve latency for a certain class of applications > would seem like something latency sensitive users would be more than > willing to do. I'd like to point out 2 things. Greg has offered help > in moving virtio into the vbus infrastructure. The vbus infrastructure > is a large part of what is being proposed here. > vbus (if I understand it right) is a whole package of things: - a way to enumerate, discover, and manage devices That part duplicates PCI and it would be pretty hard to convince me we need to move to something new. virtio-pci (a) works, (b) works on Windows. - a different way of doing interrupts Again, the need to paravirtualize kills this on Windows (I think). - a different ring layout, and splitting notifications from the ring I don't see the huge win here - placing the host part in the host kernel Nothing vbus-specific here. Switching drivers is unfortunately not easy on Linux as you need a new kernel; it's easier on Windows once you have the drivers written. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/