virt: Modify cgroup service control function

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>