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