[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] qemu guest agent windows binary
From: |
Thomas Stein |
Subject: |
Re: [Qemu-discuss] qemu guest agent windows binary |
Date: |
Thu, 06 Nov 2014 22:01:34 +0100 |
User-agent: |
KMail/4.14.2 (Linux/3.16.6; KDE/4.14.2; x86_64; ; ) |
On Wednesday 05 November 2014 22:54:45 Thomas Stein wrote:
> On Wednesday 05 November 2014 16:16:58 Thomas Stein wrote:
> > Hello.
> >
> > Does someone have a download link for a current qemu-guest-agent
> > binaries for windows? There is a redhat noarch rpm for version 1.6 but
> > no binary for 2.1. I'm trying to use the guest agent to add CPUs with
> > libvirt but the 1.6 qga binary doesn't seem to support that feature.
Now i tried to compile qga myself. I followed this howto.
http://wiki.qemu.org/Features/QAPI/GuestAgent
Is this still right? Compilation succeeds but "qemu-ga.exe -s install" throws
a cryptic windows error.
thanks and cheers
t.
> > hn2 ~ # virsh setvcpus windows7 --guest 2
> > error: internal error: unable to execute QEMU agent command
> > 'guest-get-vcpus': unknown QEMU command error
>
> I tried a litte bit further. Here is the output of guest-info:
>
> virsh # qemu-agent-command windows7 '{"execute":"guest-info"}'
> {"return":{"version":"0.12.1","supported_commands":
> [{"enabled":true,"name":"guest-set-vcpus"},{"enabled":true,"name":"guest-get
> - vcpus"},{"enabled":true,"name":"guest-network-get-interfaces"},
> {"enabled":true,"name":"guest-suspend-hybrid"},{"enabled":true,"name":"guest
> - suspend-ram"},{"enabled":true,"name":"guest-suspend-disk"},
> {"enabled":true,"name":"guest-fstrim"},{"enabled":true,"name":"guest-fsfreez
> e- thaw"},{"enabled":true,"name":"guest-fsfreeze-freeze"},
> {"enabled":true,"name":"guest-fsfreeze-status"},{"enabled":true,"name":"gues
> t- file-flush"},{"enabled":true,"name":"guest-file-seek"},
> {"enabled":true,"name":"guest-file-write"},{"enabled":true,"name":"guest-fil
> e- read"},{"enabled":true,"name":"guest-file-close"},
> {"enabled":true,"name":"guest-file-open"},{"enabled":true,"name":"guest-
> shutdown"},{"enabled":true,"name":"guest-info"},{"enabled":true,"name":"gues
> t- set-time"},{"enabled":true,"name":"guest-get-time"},
> {"enabled":true,"name":"guest-ping"},{"enabled":true,"name":"guest-sync"},
> {"enabled":true,"name":"guest-sync-delimited"}]}}
>
> So the agent command guest-get-vcpus is there. But:
>
> virsh # qemu-agent-command windows7 '{"execute":"guest-get-vcpus"}'
> error: internal error: unable to execute QEMU agent command
> 'guest-get-vcpus': unknown QEMU command error
>
> Libvirt.log:
>
> 2014-11-05 21:47:51.498+0000: 1981: error : qemuAgentCheckError:1058 :
> internal error: unable to execute QEMU agent command 'guest-get-vcpus':
> unknown QEMU command error
>
> Is this a qemu or a libvirt bug?
>
> thanks and cheers
> t.
>
> > thanks and cheers
> > t.