]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: cpu hotplug: Move loops to qemuDomainSetVcpusFlags
authorPeter Krempa <pkrempa@redhat.com>
Fri, 30 Oct 2015 08:36:27 +0000 (09:36 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 9 Dec 2015 13:57:12 +0000 (14:57 +0100)
commit3b3b98056def4255697f4ef83ea89207540571af
treed986d199ea27260fd7e9e49142bbbc54dbacd99e
parent7912d879202607fe3226d0bd0eea1a9a959fa6b0
qemu: cpu hotplug: Move loops to qemuDomainSetVcpusFlags

qemuDomainHotplugVcpus/qemuDomainHotunplugVcpus are complex enough in
regards of adding one CPU. Additionally it will be desired to reuse
those functions later with specific vCPU hotplug.

Move the loops for adding vCPUs into qemuDomainSetVcpusFlags so that the
helpers can be made simpler and more straightforward.
src/qemu/qemu_driver.c