WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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:42:50 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Tue, 23 Nov 2010 04:45:16 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1290515861.17994.269.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> <alpine.DEB.2.00.1011231212090.2373@kaball-desktop> <1290515861.17994.269.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:
> On Tue, 2010-11-23 at 12:19 +0000, Stefano Stabellini wrote:
> > 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
> > guests.
> > 
> > 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
> > upstream):
> > 
> > - hvc_xen: support PV on HVM consoles
> > e76b17aae62d13cebd4cc33415b4f0cc72316345
> > 
> > - hvc_xen: implement multiconsole support
> > d6edaed101e089b80257bcbb3141308a97ea489e
> > 
> > look at this branch:
> > 
> > git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git 2.6.36-rc6-pvhvm-v8
> 
> Many thank's. Does this patches come to 2.6.32 stable?

Nope.

> If i patch stable-2.6.32.x with this patches, can i use them? 

Yes. I was planning to port those patches to stable-2.6.32.x myself but
I haven't had the time yet.

> And some more question - if i have already running domain, can i create
> second serial console via xenapi ? (not xapi)

I doubt it but my knowledge of xenapi is very limited...


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel