virt: Add get_all_cgroups into Cgroup class

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>
Merge pull request #1748 from liyangfnst/get_cgroup

virt: Add get_all_cgroups into Cgroup class