This patch adds a sample vhost-user block device backend - Implement a sample vhost-user block device (vub) using libvhost-user-glib - Support basic virtio-blk requests: read, write, flush, get_id, discard, write_zeroes - Handle request completion, queue processing, and device configuration - Provide command-line options for socket path, block file, read-only mode, and capabilities - Compatible with Linux block devices, using direct I/O where appropriate - Includes proper cleanup, error handling, and write cache configuration
Signed-off-by: Mohamed Ayman <[email protected]>
0001-contrib-vhost-user-blk-add-sample-block-device-backe.patch
Description: Binary data
