Re: [libvirt] [PATCH 31/34] qemu: vcpu: Aggregate code to set vCPU tuning

2016-01-19 Thread John Ferlan
On 01/14/2016 11:27 AM, Peter Krempa wrote: > Rather than iterating 3 times for various settings this function > aggregates all the code into single place. One of the other advantages > is that it can then be reused for properly setting vCPU info on hotplug. > --- > src/qemu/qemu_cgroup.c |

[libvirt] [PATCH 31/34] qemu: vcpu: Aggregate code to set vCPU tuning

2016-01-14 Thread Peter Krempa
Rather than iterating 3 times for various settings this function aggregates all the code into single place. One of the other advantages is that it can then be reused for properly setting vCPU info on hotplug. --- src/qemu/qemu_cgroup.c | 98 --- src/qemu/qemu_cgroup.h | 1