[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCHv2] cgroup: Move [qemu|lxc]GetCpuBWStatus to vicgroup.c and refactor it



On 09/16/2013 03:33 AM, Peter Krempa wrote:
> The function existed in two identical instances in lxc and qemu. Move it
> to vircgroup.c and simplify it. Refactor the callers too.
> ---
> 
> Notes:
>     Version 2:
>     - added a fallback implementation that doesn't spam logs with errors
> 
>  src/libvirt_private.syms |  1 +
>  src/lxc/lxc_driver.c     | 52 +++++-------------------------------------------
>  src/qemu/qemu_driver.c   | 51 +++++------------------------------------------
>  src/util/vircgroup.c     | 38 +++++++++++++++++++++++++++++++++++
>  src/util/vircgroup.h     |  2 ++
>  5 files changed, 51 insertions(+), 93 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]