On 07/15/2011 12:54 AM, Taku Izumi wrote:
Hi all,
This patchset adds the --current option to "virsh setvcpus"
command. Currently "virsh setvcpus" command supports
"--live" and "--config" , but "--current" option.
>From view of consistency, it's reasonable to support
"--current" option too.
*[PATCH 1/3] setvcpus: extend virDomainSetVcpusFlags API to support current flag
*[PATCH 2/3] setvcpus: extend qemuDomainSetVcpusFlags() to support current flag
*[PATCH 3/3] setvcpus: add "--current" option to "virsh setvcpus"
Guess what - qemuDomainGetVcpusFlags also needs to learn the _CURRENT
option. Do you want to take that on next?
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org