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: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] any plans to sopport virtio-serial ?
From: Gerd Hoffmann <kraxel@xxxxxxxxxx>
Date: Wed, 24 Nov 2010 14:10:54 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "v.tolstov@xxxxxxxxx" <v.tolstov@xxxxxxxxx>
Delivery-date: Wed, 24 Nov 2010 05:11:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1290505747.31507.7631.camel@xxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100827 Red Hat/3.1.3-1.el6 Thunderbird/3.1.3

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 ...


Xen-devel mailing list