vhost: Add /dev/vhost-scsi device of type vhost_device_t.
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
This commit is contained in:
parent
d301e83161
commit
ce4fe74fe3
|
@ -120,6 +120,7 @@ ifdef(`distro_suse', `
|
|||
')
|
||||
/dev/vfio/.+ -c gen_context(system_u:object_r:vfio_device_t,s0)
|
||||
/dev/vhost-net -c gen_context(system_u:object_r:vhost_device_t,s0)
|
||||
/dev/vhost-scsi -c gen_context(system_u:object_r:vhost_device_t,s0)
|
||||
/dev/vbi.* -c gen_context(system_u:object_r:v4l_device_t,s0)
|
||||
/dev/vbox.* -c gen_context(system_u:object_r:xserver_misc_device_t,s0)
|
||||
/dev/vga_arbiter -c gen_context(system_u:object_r:xserver_misc_device_t,s0)
|
||||
|
|
|
@ -4839,7 +4839,7 @@ interface(`dev_relabelfrom_vfio_dev',`
|
|||
|
||||
############################
|
||||
## <summary>
|
||||
## Allow read/write the vhost net device
|
||||
## Allow read/write the vhost devices
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
|
|
|
@ -286,7 +286,8 @@ type v4l_device_t;
|
|||
dev_node(v4l_device_t)
|
||||
|
||||
#
|
||||
# vhost_device_t is the type for /dev/vhost-net
|
||||
# vhost_device_t is the type for vhost devices like
|
||||
# /dev/vhost-net and /dev/vhost-scsi
|
||||
#
|
||||
type vhost_device_t;
|
||||
dev_node(vhost_device_t)
|
||||
|
|
Loading…
Reference in New Issue