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

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

 



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


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux