Skip to content

vdpa: Block vq property change in DRIVER_OK

Dragos Tatulea kvm lkml virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vdpa: Track device suspended statedrivers/vhost/vdpa.c+15 -20 replies
2/2vdpa: Block vq property changes in DRIVER_OKdrivers/vhost/vdpa.c+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] vdpa: Block vq property change in DRIVER_OK

This series prevents the change of virtqueue address or state when a device is in DRIVER_OK and not suspended. The virtio spec doesn't allow changing virtqueue addresses and state in DRIVER_OK, but some devices do support this operation when the device is suspended. The series leaves the door open for these devices.

The series was suggested while discussing the addition of resumable virtuque support in the mlx5_vdpa driver [0].

[0] https://lore.kernel.org/virtualization/[email protected]/T/#m044ddf540d98a6b025f81bffa058ca647a3d013e

Dragos Tatulea (2):
vdpa: Track device suspended state
vdpa: Block vq property changes in DRIVER_OK

 drivers/vhost/vdpa.c | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)
Signature · 1 line
2.43.0