This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] any plans to sopport virtio-serial ?

To: Gerd Hoffmann <kraxel@xxxxxxxxxx>
Subject: Re: [Xen-devel] any plans to sopport virtio-serial ?
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Wed, 24 Nov 2010 13:15:05 +0000
Cc: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "v.tolstov@xxxxxxxxx" <v.tolstov@xxxxxxxxx>
Delivery-date: Wed, 24 Nov 2010 05:15:40 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CED0EDE.6010406@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1290499219.17994.119.camel@vase> <1290505747.31507.7631.camel@xxxxxxxxxxxxxxxxxxxxxx> <4CED0EDE.6010406@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Wed, 24 Nov 2010, Gerd Hoffmann wrote:
>    Hi,
> > As I understand it (which is very vague) virtio allows each architecture
> > to supply device discovery, shared ring and event notification backends
> > which it then builds the specific device services on top of.
> Yes. I think there are three backends now: pci, lguest, s390.
> > I think the
> > most obvious solution is to do device discovery using XenStore but to do
> > the shared ring and event notification bits with page grants and event
> > channels respectively. I was under the impression that virtio was
> > designed with the possibility of this sort of Xen backend in mind.
> Yes, that should be possible.
> Another option would be to just use the pci backend.  As I understand it 
> nowdays pci is available even in pv guests for pci device passthrough, 
> so in theory this should work fine for both pv and hvm guests ...

For PV guests the pci bus is only available through the pcifront driver,
it wouldn't interact with qemu at all.
But it should work fine for PV on HVM guests.

Xen-devel mailing list