qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Facing problems in running QEMU guest agents in Windows 2008 guest machine.
@ 2014-07-01 10:27 Puneet Bakshi
  2014-07-01 12:51 ` [Qemu-devel] [libvirt] " Claudio Bley
  2014-07-01 12:53 ` [Qemu-devel] " Puneet Bakshi
  0 siblings, 2 replies; 3+ messages in thread
From: Puneet Bakshi @ 2014-07-01 10:27 UTC (permalink / raw)
  To: libvir-list, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1271 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2846 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [libvirt] Facing problems in running QEMU guest agents in Windows 2008 guest machine.
  2014-07-01 10:27 [Qemu-devel] Facing problems in running QEMU guest agents in Windows 2008 guest machine Puneet Bakshi
@ 2014-07-01 12:51 ` Claudio Bley
  2014-07-01 12:53 ` [Qemu-devel] " Puneet Bakshi
  1 sibling, 0 replies; 3+ messages in thread
From: Claudio Bley @ 2014-07-01 12:51 UTC (permalink / raw)
  To: Puneet Bakshi; +Cc: libvir-list, qemu-devel

At Tue, 1 Jul 2014 15:57:07 +0530,
Puneet Bakshi wrote:
> 
> 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."

The libvirt list is not quite the right mailing list for your
question. This list is for discussion about libvirt
development. Better ask at the qemu *user* list when you have problems
with the qemu guest agent.

BTW, 0xc000007b means STATUS_INVALID_IMAGE_FORMAT, which indicates
that either your file is not a valid PE executable or that it's a 32
bit app and tried to load a 64 bit DLL, but that's just a wild guess.

You could use Dependency Walker to track this down.

Claudio

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] Facing problems in running QEMU guest agents in Windows 2008 guest machine.
  2014-07-01 10:27 [Qemu-devel] Facing problems in running QEMU guest agents in Windows 2008 guest machine Puneet Bakshi
  2014-07-01 12:51 ` [Qemu-devel] [libvirt] " Claudio Bley
@ 2014-07-01 12:53 ` Puneet Bakshi
  1 sibling, 0 replies; 3+ messages in thread
From: Puneet Bakshi @ 2014-07-01 12:53 UTC (permalink / raw)
  To: libvir-list, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1556 bytes --]

Can somebody point me to the working way of installing quemu guest agents
in Windows 2008 guest machine?

Regards,
~Puneet


On Tue, Jul 1, 2014 at 3:57 PM, Puneet Bakshi <bakshi.puneet@gmail.com>
wrote:

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

[-- Attachment #2: Type: text/html, Size: 3630 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-01 12:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-01 10:27 [Qemu-devel] Facing problems in running QEMU guest agents in Windows 2008 guest machine Puneet Bakshi
2014-07-01 12:51 ` [Qemu-devel] [libvirt] " Claudio Bley
2014-07-01 12:53 ` [Qemu-devel] " Puneet Bakshi

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