[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 0/2] block/blkio: support fd passing for virtio-blk-vhost-vdpa
From: |
Stefano Garzarella |
Subject: |
[PATCH v4 0/2] block/blkio: support fd passing for virtio-blk-vhost-vdpa driver |
Date: |
Fri, 26 May 2023 17:03:02 +0200 |
v4:
- added patch 02 to allow libvirt to discover we support fdset [Markus]
- modified the commit description of patch 01
v3:
20230511091527.46620-1-sgarzare@redhat.com/">https://lore.kernel.org/qemu-devel/20230511091527.46620-1-sgarzare@redhat.com/
- use qemu_open() on `path` to simplify libvirt code [Jonathon]
- remove patch 01 since we are not using monitor_fd_param() anymore
v2:
20230504092843.62493-1-sgarzare@redhat.com/">https://lore.kernel.org/qemu-devel/20230504092843.62493-1-sgarzare@redhat.com/
- added patch 01 to use monitor_fd_param() in the blkio module
- use monitor_fd_param() to parse the fd like vhost devices [Stefan]
v1:
20230502145050.224615-1-sgarzare@redhat.com/">https://lore.kernel.org/qemu-devel/20230502145050.224615-1-sgarzare@redhat.com/
The virtio-blk-vhost-vdpa driver in libblkio 1.3.0 supports the new
'fd' property. Let's expose this to the user, so the management layer
can pass the file descriptor of an already opened vhost-vdpa character
device. This is useful especially when the device can only be accessed
with certain privileges.
Stefano Garzarella (2):
block/blkio: use qemu_open() to support fd passing for virtio-blk
qapi: add '@fdset' feature for BlockdevOptionsVirtioBlkVhostVdpa
meson.build | 4 ++++
qapi/block-core.json | 8 ++++++-
block/blkio.c | 53 ++++++++++++++++++++++++++++++++++++--------
3 files changed, 55 insertions(+), 10 deletions(-)
--
2.40.1
- [PATCH v4 0/2] block/blkio: support fd passing for virtio-blk-vhost-vdpa driver,
Stefano Garzarella <=