]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Make SetVcpu command hotplug only
authorCole Robinson <crobinso@redhat.com>
Tue, 9 Feb 2010 21:31:51 +0000 (16:31 -0500)
committerCole Robinson <crobinso@redhat.com>
Tue, 16 Feb 2010 16:10:40 +0000 (11:10 -0500)
commit8c38b5dc2e0ca5bc5374882ba808c77f463e51e3
treed5b2c631510215bbe2572cf828de800073a10f9f
parent09a33fd8a9cc85e5e1064168472bff7aecff15fb
qemu: Make SetVcpu command hotplug only

Similar to the Set*Mem commands, this implementation was bogus and
misleading. Make it clear this is a hotplug only operation, and that the
hotplug piece isn't even implemented.

Also drop the overkill maxvcpus validation: we don't perform this check
at XML define time so clearly no one is missing it, and there is
always the risk that our info will be out of date, possibly preventing
legitimate CPU values.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
src/qemu/qemu_driver.c