Skip to content
Snippets Groups Projects

blkio/drivers/virtio_blk: fail "fd" setting earlier as possible

Merged Stefano Garzarella requested to merge sgarzarella/libblkio:fix-virtio-blk-fd into main

Currently only virtio-blk-vhost-vdpa driver supports the "fd" property. If users set "fd" for other drivers, they will receive an error only during blkio_connect().

Let's allow the user to check if "fd" is supported or not by the driver earlier as possible, when "fd" is set.

Signed-off-by: Stefano Garzarella sgarzare@redhat.com

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading