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