diff options
author | Maxime Coquelin <maxime.coquelin@redhat.com> | 2024-01-09 14:10:25 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-03-19 15:19:15 +0300 |
commit | 894452180d732413fd29fa95a4820560fa44ca4a (patch) | |
tree | e3363026623f490191cbd3bf5b5518b560da82c4 /drivers/gpu/drm/xe/xe_reg_sr.c | |
parent | 56e71885b0349241c07631a7b979b61e81afab6a (diff) | |
download | linux-894452180d732413fd29fa95a4820560fa44ca4a.tar.xz |
vduse: enable Virtio-net device type
This patch adds Virtio-net device type to the supported
devices types.
Initialization fails if the device does not support
VIRTIO_F_VERSION_1 feature, in order to guarantee the
configuration space is read-only. It also fails with
-EPERM if the CAP_NET_ADMIN is missing.
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Eugenio PĂ©rez <eperezma@redhat.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Message-Id: <20240109111025.1320976-4-maxime.coquelin@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Xie Yongji <xieyongji@bytedance.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_reg_sr.c')
0 files changed, 0 insertions, 0 deletions