From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGt2U-00056M-1j for qemu-devel@nongnu.org; Mon, 02 May 2011 09:19:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGt2T-0005UZ-2G for qemu-devel@nongnu.org; Mon, 02 May 2011 09:19:49 -0400 Received: from nm5-vm0.bullet.mail.bf1.yahoo.com ([98.139.213.150]:43439) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QGt2S-0005UO-SI for qemu-devel@nongnu.org; Mon, 02 May 2011 09:19:49 -0400 Message-ID: <810726.49935.qm@web161619.mail.bf1.yahoo.com> Date: Mon, 2 May 2011 06:19:45 -0700 (PDT) From: SAURAV LAHIRI MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1069474611-1304342385=:49935" Subject: [Qemu-devel] How to test vm channel with windows guest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: upendra.m@hexagrid.com --0-1069474611-1304342385=:49935 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hello, We have established a communication channel between a ubuntu 10.04 host and= a windows xp guest using vm channel.=A0=20 At the host end we have used a unix socket. Below is the libvirt related co= nfig =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 =A0 =A0 =A0
=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 "vio= ser_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.=20 Is the source code for vioser_test available for reference. Also is there a= ny reference documents to write agents like vioser_test utility. Thanks in advance. sl --0-1069474611-1304342385=:49935 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hello,

We have established a communica= tion channel between a ubuntu 10.04 host and a windows xp guest using vm ch= annel. 

At the host end we have used a unix socket. Below is t= he 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= type=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 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 refere= nce. Also is there any reference documents to write agents like vioser_test= utility.

Thanks in advance.

sl


--0-1069474611-1304342385=:49935-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:39351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGtV5-0001yV-Rr for qemu-devel@nongnu.org; Mon, 02 May 2011 09:49:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGtV4-0001iS-Ky for qemu-devel@nongnu.org; Mon, 02 May 2011 09:49:23 -0400 Received: from e32.co.us.ibm.com ([32.97.110.150]:37381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGtV4-0001hw-CL for qemu-devel@nongnu.org; Mon, 02 May 2011 09:49:22 -0400 Received: from d03relay03.boulder.ibm.com (d03relay03.boulder.ibm.com [9.17.195.228]) by e32.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id p42Dbo4P031016 for ; Mon, 2 May 2011 07:37:50 -0600 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay03.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p42Dmqtg134754 for ; Mon, 2 May 2011 07:48:57 -0600 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p42DmUHj008522 for ; Mon, 2 May 2011 07:48:30 -0600 Message-ID: <4DBEB627.2040206@linux.vnet.ibm.com> Date: Mon, 02 May 2011 08:48:23 -0500 From: Michael Roth MIME-Version: 1.0 References: <810726.49935.qm@web161619.mail.bf1.yahoo.com> In-Reply-To: <810726.49935.qm@web161619.mail.bf1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: SAURAV LAHIRI Cc: upendra.m@hexagrid.com, qemu-devel@nongnu.org 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 > > =========================================================== > > > >
> > =========================================================== > > 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 driver package for windows? If so the source code is available here: http://git.kernel.org/?p=virt/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 > > From mboxrd@z Thu Jan 1 00:00:00 1970 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--