From: Chen Hanxiao <chenhanxiao(a)cn.fujitsu.com>
Since 2.6.39, kernel changed the minimum weight of device blkio.
We need to follow them according to different kernel version.
Chen Hanxiao (2):
[libvirt][PATCH]cgroup: introduce kernel version check function for
cgroup
[libvirt][PATCH]blkio: change the minimum weight according to kernel
version
src/util/vircgroup.c | 76 ++++++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 65 insertions(+), 11 deletions(-)
--
1.8.2.1