From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1vHK-0005vR-7k for qemu-devel@nongnu.org; Tue, 01 Jul 2014 06:27:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X1vHI-0006lh-Sj for qemu-devel@nongnu.org; Tue, 01 Jul 2014 06:27:10 -0400 Received: from mail-qc0-x234.google.com ([2607:f8b0:400d:c01::234]:62016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X1vHI-0006lX-Nd for qemu-devel@nongnu.org; Tue, 01 Jul 2014 06:27:08 -0400 Received: by mail-qc0-f180.google.com with SMTP id r5so8261074qcx.11 for ; Tue, 01 Jul 2014 03:27:07 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 1 Jul 2014 15:57:07 +0530 Message-ID: From: Puneet Bakshi Content-Type: multipart/alternative; boundary=001a11c163e4be27fe04fd1f377e Subject: [Qemu-devel] Facing problems in running QEMU guest agents in Windows 2008 guest machine. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: libvir-list@redhat.com, qemu-devel@nongnu.org --001a11c163e4be27fe04fd1f377e Content-Type: text/plain; charset=UTF-8 Hi, I have a CenOS host machine running KVM and a Windows 2008 guest machine. I am able to run "qemu-monitor-command" but not "qemu-agent-command". [root@sdsr720-14 Windows_ISO]# virsh qemu-monitor-command --hmp vm_win_05 'info network' Devices not on any VLAN: hostnet0: fd=23 peer=net0 net0: model=virtio-net-pci,macaddr=52:54:00:7f:4a:5b peer=hostnet0 [root@sdsr720-14 Windows_ISO]# virsh qemu-agent-command vm_win_05 '{"execute":"guest-ping"}' [root@sdsr720-14 Windows_ISO]# [QEMU guest installation] To install QEMU guest agent, I followed steps mentioned at following URL http://wiki.qemu.org/Features/QAPI/GuestAgent#Example_usage [Problem-1] "qemu-ga.exe -s install" runs silently, "net start qemu-ga" gave error. Following is the snippet from Windows shell. PS C:\puneet> .\qemu-ga.exe -s install PS C:\puneet> net start qemu-ga The service name is invalid. More help is available by typing NET HELPMSG 2185. PS C:\puneet>[root@sdsr720-14 Windows_ISO]# [Problem-2] When I double click the "qemu-ga.exe", it gives the following error. "The application was unable to start correctly (0xc000007b). Click Ok to close the application." I tried some other possible ways also but could not get them working. Regards, ~Puneet --001a11c163e4be27fe04fd1f377e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I have a CenOS host machine running KVM and a= Windows 2008 guest machine. I am able to run "qemu-monitor-command&qu= ot; but not "qemu-agent-command".


[root@sdsr720-14 Windows_ISO]# virsh qemu-monitor-command --hmp vm_= win_05 'info network'
Devices not on any VLAN:
=C2=A0 hostnet= 0: fd=3D23 peer=3Dnet0
=C2=A0 net0: model=3Dvirtio-net-pci,macaddr=3D52:= 54:00:7f:4a:5b peer=3Dhostnet0

[root@sdsr720-14 Windows_ISO]# virsh qemu-agent-command vm_win_05 '= {"execute":"guest-ping"}'

[root@sdsr720-14 W= indows_ISO]#


[QEMU guest installation]
To install QEMU guest agent, I followed st= eps mentioned at following URL
http://wiki.qemu.org/Features/QAPI/GuestAgen= t#Example_usage


[Problem-1]
"qemu-ga.exe -s install" runs sile= ntly, "net start qemu-ga" gave error.

Following is the snippet from Windows shell.

=C2=A0=C2= =A0=C2=A0 PS C:\puneet> .\qemu-ga.exe -s install

=C2=A0=C2=A0=C2=A0 PS C:\puneet> net start qemu-ga
=C2=A0=C2=A0= =C2=A0 The service name is invalid.

=C2=A0=C2=A0=C2=A0 More help is = available by typing NET HELPMSG 2185.

=C2=A0=C2=A0=C2=A0 PS C:\punee= t>[root@sdsr720-14 Windows_ISO]#


[Problem-2]
When I double click the "qemu-ga.exe&qu= ot;, it gives the following error.

"The application was unable to start correctly (0xc000007b= ). Click Ok to close the application."

I tried some other possible ways also but could not get them workin= g.


Regards,
~Puneet
--001a11c163e4be27fe04fd1f377e--