Displaying 2 results from an estimated 2 matches for "qemuagentsetvcpus".
Did you mean:
qemuagentgetvcpus
2013 Jun 01
1
Re: About the change of a VM's vcpu count in runtime?
...been found
I think the communication between monitor and guest is ok, because below
command is OK:
virsh # shutdown 8 --mode agent
Domain 8 is being shutdown
VM shutdown after this command. Also, I double checked the
src/qemu/qemu_agent.c, and I can find the 2 functions:
qemuAgentGetVCPUs() and qemuAgentSetVCPUs()
Another,
virsh # qemu-agent-command 9 '{"execute":"cpu-add","arguments":{"id":2}}'
{"error":{"class":"CommandNotFound","desc":"The command cpu-add has not
been found","data":{"name&q...
2013 May 28
3
Re: About the change of a VM's vcpu count in runtime?
On 05/28/2013 02:24 PM, Eric Blake wrote:
>> So the question is: is there any method I can't find yet to change the
>> vcpu count of a running vm dynamically?
>
> Wait for newer qemu and libvirt, or else pitch in and help write patches.
You might not have to wait that long - if you could help test these
patches, it would be appreciated: