<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">Can somebody point me to the working way of installing quemu guest agents in Windows 2008 guest machine?<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">
Regards,<br></div><div class="gmail_default" style="font-family:courier new,monospace">~Puneet<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 1, 2014 at 3:57 PM, Puneet Bakshi <span dir="ltr"><<a href="mailto:bakshi.puneet@gmail.com" target="_blank">bakshi.puneet@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">Hi,<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">
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". <br>
<br><br>[root@sdsr720-14 Windows_ISO]# virsh qemu-monitor-command --hmp vm_win_05 'info network'<br>Devices not on any VLAN:<br>  hostnet0: fd=23 peer=net0<br>  net0: model=virtio-net-pci,macaddr=52:54:00:7f:4a:5b peer=hostnet0<br>

<br>[root@sdsr720-14 Windows_ISO]# virsh qemu-agent-command vm_win_05 '{"execute":"guest-ping"}'<br><br>[root@sdsr720-14 Windows_ISO]#<br><br><br></div><div class="gmail_default" style="font-family:courier new,monospace">

[QEMU guest installation]<br></div><div class="gmail_default" style="font-family:courier new,monospace">To install QEMU guest agent, I followed steps mentioned at following URL<br><a href="http://wiki.qemu.org/Features/QAPI/GuestAgent#Example_usage" target="_blank">http://wiki.qemu.org/Features/QAPI/GuestAgent#Example_usage</a><br>

<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">[Problem-1]<br></div><div class="gmail_default" style="font-family:courier new,monospace">"qemu-ga.exe -s install" runs silently, "net start qemu-ga" gave error.<br>

<br></div><div class="gmail_default" style="font-family:courier new,monospace">Following is the snippet from Windows shell.<br></div><div class="gmail_default" style="font-family:courier new,monospace"><br>    PS C:\puneet> .\qemu-ga.exe -s install<br>

<br>    PS C:\puneet> net start qemu-ga<br>    The service name is invalid.<br><br>    More help is available by typing NET HELPMSG 2185.<br><br>    PS C:\puneet>[root@sdsr720-14 Windows_ISO]#<br></div><div class="gmail_default" style="font-family:courier new,monospace">

<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">[Problem-2]<br></div><div class="gmail_default" style="font-family:courier new,monospace">When I double click the "qemu-ga.exe", it gives the following error.<br>

</div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">"The application was unable to start correctly (0xc000007b). Click Ok to close the application."<br>

<br></div><div class="gmail_default" style="font-family:courier new,monospace">I tried some other possible ways also but could not get them working.<br></div><div class="gmail_default" style="font-family:courier new,monospace">

<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">Regards,<br>~Puneet<br></div></div>
</blockquote></div><br></div>