qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Michael Roth <mdroth@linux.vnet.ibm.com>
To: SAURAV LAHIRI <saurav_lahiri@yahoo.com>
Cc: upendra.m@hexagrid.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] How to test vm channel with windows guest
Date: Mon, 02 May 2011 08:48:23 -0500	[thread overview]
Message-ID: <4DBEB627.2040206@linux.vnet.ibm.com> (raw)
In-Reply-To: <810726.49935.qm@web161619.mail.bf1.yahoo.com>

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
>
> ===========================================================
> <channel type='unix'>
> <source mode='bind' path='/tmp/guestfs' />
> <target type='virtio' name='org.windows-kvm.port.1'/>
> <address type='virtio-serial' controller='0' bus='0'/>
> </channel>
> ===========================================================
>
> 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
>
>

  reply	other threads:[~2011-05-02 13:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-02 13:19 [Qemu-devel] How to test vm channel with windows guest SAURAV LAHIRI
2011-05-02 13:48 ` Michael Roth [this message]
2011-05-03  6:21   ` SAURAV LAHIRI

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DBEB627.2040206@linux.vnet.ibm.com \
    --to=mdroth@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=saurav_lahiri@yahoo.com \
    --cc=upendra.m@hexagrid.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).