about qga on windows
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.
Quoted 6 lines · Thomas Stein
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
Am 07.11.14 12:31, schrieb Paolo Bonzini:
Quoted 9 lines · Thomas Stein
Quoted 6 lines
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.