mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
udev: allow kvm group to access vhost-vsock device
/dev/vhost-vsock allows to setup a guest CID and running state (VHOST_VSOCK_SET_GUEST_CID, VHOST_VSOCK_SET_RUNNING) All this should be legitimate and safe for KVM users. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
c4446798fa
commit
c78939d565
@ -86,6 +86,7 @@ KERNEL=="fuse", MODE="0666", OPTIONS+="static_node=fuse"
|
||||
KERNEL=="kvm", GROUP="kvm", MODE="@DEV_KVM_MODE@", OPTIONS+="static_node=kvm"
|
||||
|
||||
KERNEL=="vsock", MODE="0666"
|
||||
KERNEL=="vhost-vsock", GROUP="kvm", MODE="@DEV_KVM_MODE@", OPTIONS+="static_node=vhost-vsock"
|
||||
|
||||
KERNEL=="udmabuf", GROUP="kvm"
|
||||
|
||||
|
@ -15,3 +15,4 @@ z /dev/loop-control 0660 - disk -
|
||||
z /dev/net/tun 0666 - - -
|
||||
z /dev/fuse 0666 - - -
|
||||
z /dev/kvm @DEV_KVM_MODE@ - kvm -
|
||||
z /dev/vhost-vsock @DEV_KVM_MODE@ - kvm -
|
||||
|
Loading…
Reference in New Issue
Block a user