Re: [libvirt] [PATCH v2 08/10] qemu: cgroup and selinux for scsi hostdev

2013-04-03 Thread Osier Yang
On 01/04/13 20:01, Han Cheng wrote: As libvirt gives guest minimal cgroup, we need to add sg into guest cgroup whitelist for scsi hostdev. And we should set and restore selinux label correctly for scsi hostdev. Signed-off-by: Han Cheng hanc.f...@cn.fujitsu.com --- src/qemu/qemu_cgroup.c

[libvirt] [PATCH v2 08/10] qemu: cgroup and selinux for scsi hostdev

2013-04-01 Thread Han Cheng
As libvirt gives guest minimal cgroup, we need to add sg into guest cgroup whitelist for scsi hostdev. And we should set and restore selinux label correctly for scsi hostdev. Signed-off-by: Han Cheng hanc.f...@cn.fujitsu.com --- src/qemu/qemu_cgroup.c | 67