[libvirt] [PATCH 32/34] qemu: vcpu: Reuse qemuProcessSetupVcpu in vcpu hotplug

John Ferlan jferlan at redhat.com
Tue Jan 19 17:07:53 UTC 2016



On 01/14/2016 11:27 AM, Peter Krempa wrote:
> Since majority of the steps is shared, the function can be reused to
> simplify code.
> 
> Additionally this resolves
> https://bugzilla.redhat.com/show_bug.cgi?id=1244128 since the cpu
> bandwidth limiting with cgroups would not be set on the hotplug path.
> ---
>  src/qemu/qemu_driver.c | 35 +----------------------------------
>  1 file changed, 1 insertion(+), 34 deletions(-)
> 

ACK - although some day if adding a "specific" vcpuid support is added
there could be array cardinality issues passing the vcpu[id] that was
added (as opposed to what's done now of next man up.


John




More information about the libvir-list mailing list