From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vasiliy G Tolstov Subject: Re: any plans to sopport virtio-serial ? Date: Tue, 23 Nov 2010 17:29:37 +0300 Message-ID: <1290522577.2890.0.camel@vase> References: <1290499219.17994.119.camel@vase> Reply-To: v.tolstov@selfip.ru Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org 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 I'm clone this repo, but can't find sha commits like e76b17aae62d13cebd4cc33415b4f0cc72316345 or d6edaed101e089b80257bcbb3141308a97ea489e -- Vasiliy G Tolstov Selfip.Ru