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: Vasiliy G Tolstov <v.tolstov@xxxxxxxxx>
Subject: Re: [Xen-devel] any plans to sopport virtio-serial ?
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Tue, 23 Nov 2010 12:19:32 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 23 Nov 2010 04:22:01 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1290499219.17994.119.camel@vase>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Tue, 23 Nov 2010, Vasiliy G Tolstov wrote:
> Hello. Does Xen developers have any plans to support qemu virtio-serial
> or may be some ideas to implement some analog?
> If no, can You provide my some tech info, what i need to write this?
> (xenstore not good for two way communication and have scalability
> problems, for example like tdb suport transactions..) Xway not
> supporting, XenSocket use another protocol and need to rewrite programs
> to support it..
You can try to make the current virtio-serial backend in Qemu work on
Xen, that shouldn't be difficult, but it would only work with HVM

Otherwise you can try to use a Xen PV serial for your purposes: multiple
PV serials don't work out of the box, but I have tested them a little
while ago and they do work fine.
You need to hack xl to create multiple PV serials frontend/backend pairs
(see init_console_info in tools/libxl/xl_cmdimpl.c), then you need these
two patches in the guest kernel (unfortunately they are not yet

- hvc_xen: support PV on HVM consoles

- hvc_xen: implement multiconsole support

look at this branch:

git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git 2.6.36-rc6-pvhvm-v8

Xen-devel mailing list