[libvirt] [PATCH 0/4] introduce virCheckControllerGoto to simplify cgroup controller check

Chen Hanxiao chen_han_xiao at 126.com
Fri Nov 4 03:09:16 UTC 2016


We had a lot of codes use the same style of cgroup controller check.
This series introduce macro virCheckControllerGoto
to simplify these kinds of check.

Chen Hanxiao (4):
  internal: introduce macro virCheckControllerGoto
  lxc_driver: use virCheckControllerGoto to simplify cgroup controller
    check
  qemu_driver: use virCheckControllerGoto to simplify cgroup controller
    check
  qemu_process: use virCheckControllerGoto to simplify cgroup controller
    check

 src/internal.h          |  19 ++++++++
 src/lxc/lxc_driver.c    | 115 ++++++++++++++----------------------------------
 src/qemu/qemu_driver.c  |  70 +++++++++--------------------
 src/qemu/qemu_process.c |   9 ++--
 4 files changed, 77 insertions(+), 136 deletions(-)

-- 
1.8.3.1





More information about the libvir-list mailing list