Received: from eggs.gnu.org ([140.186.70.92]:46343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QH8zV-0001TS-01 for qemu-devel@nongnu.org; Tue, 03 May 2011 02:21:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QH8zT-00007J-NM for qemu-devel@nongnu.org; Tue, 03 May 2011 02:21:48 -0400 Received: from nm26-vm0.bullet.mail.bf1.yahoo.com ([98.139.213.74]:25626) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QH8zT-00007E-Fa for qemu-devel@nongnu.org; Tue, 03 May 2011 02:21:47 -0400 Message-ID: <935606.46166.qm@web161613.mail.bf1.yahoo.com> Date: Mon, 2 May 2011 23:21:46 -0700 (PDT) From: SAURAV LAHIRI In-Reply-To: <4DBEB627.2040206@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-835750388-1304403706=:46166" Subject: Re: [Qemu-devel] How to test vm channel with windows guest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Roth Cc: upendra.m@hexagrid.com, qemu-devel@nongnu.org --0-835750388-1304403706=:46166 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Michael, Thank you very much for pointing to the virtio driver package for windows. = It does have the vioser-test utility. Regards sl --- On Mon, 2/5/11, Michael Roth wrote: From: Michael Roth Subject: Re: [Qemu-devel] How to test vm channel with windows guest To: "SAURAV LAHIRI" Cc: upendra.m@hexagrid.com, qemu-devel@nongnu.org Date: Monday, 2 May, 2011, 10:48 On 05/02/2011 08:19 AM, SAURAV LAHIRI wrote: > Hello, > > We have established a communication channel between a ubuntu 10.04 host > and a windows xp guest using vm channel. > > At the host end we have used a unix socket. Below is the libvirt related > config > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > >
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > To test if the channel has been successfully created or not we run the > "vioser_test" at the guest and. At the host end we run "socat > /tmp/guestfs -". > > We find that while the guest is able to send commands to the host, it > does not work from the host to the guest end. > > Is the source code for vioser_test available for reference. Also is > there any reference documents to write agents like vioser_test utility. I'm not familiar with this vioser_test utility, is it part of the virtio=20 driver package for windows? If so the source code is available here: http://git.kernel.org/?p=3Dvirt/kvm/kvm-guest-drivers-windows.git Amit's virtio-serial test suite is also available for reference: http://fedoraproject.org/wiki/Features/VirtioSerial#How_To_Test I'm not sure how applicable it is for windows though. > > Thanks in advance. > > sl > > --0-835750388-1304403706=:46166 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hello Michael,
Thank you very much for poi= nting to the virtio driver package for windows. It does have the vioser-tes= t utility.

Regards
sl

--- On Mon, 2/5/11, Michael Roth = <mdroth@linux.vnet.ibm.com> wrote:

From: Michael Roth <mdroth@linux.vnet.ibm.com>
Subject: R= e: [Qemu-devel] How to test vm channel with windows guest
To: "SAURAV LA= HIRI" <saurav_lahiri@yahoo.com>
Cc: upendra.m@hexagrid.com, qemu-d= evel@nongnu.org
Date: Monday, 2 May, 2011, 10:48

On 05/02/2011 08:19 AM, SAURAV LAHIRI wrote:
> Hello,
>= ;
> We have established a communication channel between a ubuntu 10.0= 4 host
> and a windows xp guest using vm channel.
>
> At = the host end we have used a unix socket. Below is the libvirt related
> = config
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> <channel typ= e=3D'unix'>
> <source mode=3D'bind' path=3D'/tmp/guestfs' />=
> <target type=3D'virtio' name=3D'org.windows-kvm.port.1'/>> <address type=3D'virtio-serial' controller=3D'0' bus=3D'0'/>> </channel>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
>= ; To test if the channel has been successfully created or not we run the> "vioser_test" at the guest and. At the host end we run "socat
>= /tmp/guestfs -".
>
> We find that while the guest is able to s= end commands to the host, it
> does not work from the host to the gue= st end.
>
> Is the source code for vioser_test available for re= ference. Also is
> there any reference documents to write agents like= vioser_test utility.

I'm not familiar with this vioser_test utility, is it part= of the virtio
driver package for windows? If so the source code is ava= ilable here:

http://git.kernel.org/?p=3Dvirt/kv= m/kvm-guest-drivers-windows.git

Amit's virtio-serial test suite = is also available for reference:

http://fedorapro= ject.org/wiki/Features/VirtioSerial#How_To_Test

I'm not sure how= applicable it is for windows though.

>
> Thanks in advance= .
>
> sl
>
>


--0-835750388-1304403706=:46166--