qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] about qga on windows
@ 2014-11-07 11:01 Thomas Stein
  2014-11-07 11:31 ` Paolo Bonzini
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Stein @ 2014-11-07 11:01 UTC (permalink / raw)
  To: qemu-devel

Hello.

A quick question about qga and windows. Is setting vpus supposed to
work? I compiled qemu-guest-agent myself and installed it on a windows7
ultimate machine. Libvirt is version 1.2.10. Qemu is version 2.1.2. Here
the output of a setvcpu command:

virsh # qemu-agent-command windows7 '{"execute":"guest-get-vcpus"}'
error: internal error: unable to execute QEMU agent command
'guest-get-vcpus': this feature or command is not currently supported

A guest-info command looks like this:

virsh # qemu-agent-command windows7 '{"execute":"guest-info"}'
{"return":{"version":"2.1.2","supported_commands":[{"enabled":true,"name":"guest-set-vcpus","success-response":true},{"enabled":true,"name":"guest-get-vcpus","success-response":true},{"enabled":true,"name":"guest-network-get-interfaces","success-response":true},{"enabled":true,"name":"guest-suspend-hybrid","success-response":false},{"enabled":true,"name":"guest-suspend-ram","success-response":false},{"enabled":true,"name":"guest-suspend-disk","success-response":false},{"enabled":true,"name":"guest-fstrim","success-response":true},{"enabled":true,"name":"guest-fsfreeze-thaw","success-response":true},{"enabled":true,"name":"guest-fsfreeze-freeze","success-response":true},{"enabled":true,"name":"guest-fsfreeze-status","success-response":true},{"enabled":true,"name":"guest-file-flush","success-response":true},{"enabled":true,"name":"guest-file-seek","success-response":true},{"enabled":true,"name":"guest-file-write","success-response":true},{"enabled":true,"name":"guest-file-read","success
-response":true},{"enabled":true,"name":"guest-file-close","success-response":true},{"enabled":true,"name":"guest-file-open","success-response":true},{"enabled":true,"name":"guest-shutdown","success-response":false},{"enabled":true,"name":"guest-info","success-response":true},{"enabled":true,"name":"guest-set-time","success-response":true},{"enabled":true,"name":"guest-get-time","success-response":true},{"enabled":true,"name":"guest-ping","success-response":true},{"enabled":true,"name":"guest-sync","success-response":true},{"enabled":true,"name":"guest-sync-delimited","success-response":true}]}}

Any information appreciated.

ciao
t.

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

* Re: [Qemu-devel] about qga on windows
  2014-11-07 11:01 [Qemu-devel] about qga on windows Thomas Stein
@ 2014-11-07 11:31 ` Paolo Bonzini
  2014-11-07 11:46   ` Thomas Stein
  0 siblings, 1 reply; 3+ messages in thread
From: Paolo Bonzini @ 2014-11-07 11:31 UTC (permalink / raw)
  To: Thomas Stein, qemu-devel

On 07/11/2014 12:01, Thomas Stein wrote:
> Hello.
> 
> A quick question about qga and windows. Is setting vpus supposed to
> work? I compiled qemu-guest-agent myself and installed it on a windows7
> ultimate machine. Libvirt is version 1.2.10. Qemu is version 2.1.2. Here
> the output of a setvcpu command:

No, I'm not sure an API for that exists in Windows.

Paolo

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

* Re: [Qemu-devel] about qga on windows
  2014-11-07 11:31 ` Paolo Bonzini
@ 2014-11-07 11:46   ` Thomas Stein
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Stein @ 2014-11-07 11:46 UTC (permalink / raw)
  To: qemu-devel

Am 07.11.14 12:31, schrieb Paolo Bonzini:
> On 07/11/2014 12:01, Thomas Stein wrote:
>> Hello.
>> 
>> A quick question about qga and windows. Is setting vpus supposed to
>> work? I compiled qemu-guest-agent myself and installed it on a windows7
>> ultimate machine. Libvirt is version 1.2.10. Qemu is version 2.1.2. Here
>> the output of a setvcpu command:
> 
> No, I'm not sure an API for that exists in Windows.

Thanks for your answer Paolo. I just read:

---microsoft website---
    Windows: Windows Server 2012 (Standard and Enterprise Edition) and
Windows Server 2008 Datacenter Edition support CPU hot add, but not CPU
hot remove.

    Note: Windows Server 2008 Standard and Enterprise Editions do not
support CPU hot add.
---microsoft website---

Good to know the limitations.

cheers
t.

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

end of thread, other threads:[~2014-11-07 11:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-07 11:01 [Qemu-devel] about qga on windows Thomas Stein
2014-11-07 11:31 ` Paolo Bonzini
2014-11-07 11:46   ` Thomas Stein

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