[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.