[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 3/5] a standone-alone tool to directly share disk image fi
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v2 3/5] a standone-alone tool to directly share disk image file via vhost-user protocol |
Date: |
Thu, 16 Jan 2020 14:04:29 +0000 |
On Tue, Jan 14, 2020 at 10:06:18PM +0800, Coiby Xu wrote:
> vhost-user-blk can have played as vhost-user backend but it only supports raw
> file and don't support VIRTIO_BLK_T_DISCARD and VIRTIO_BLK_T_WRITE_ZEROES
> operations on raw file (ioctl(fd, BLKDISCARD) is only valid for real block
> device).
>
> Signed-off-by: Coiby Xu <address@hidden>
> ---
> qemu-vu.c | 264 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 264 insertions(+)
> create mode 100644 qemu-vu.c
Kevin has been working on qemu-storage-daemon, a tool for running NBD
exports, block jobs, and other storage features that are not part of a
guest. I think qemu-storage-daemon would be the appropriate tool for
running vhost-user-blk servers. A dedicated binary is not necessary.
Stefan
signature.asc
Description: PGP signature
[PATCH v2 4/5] new qTest case for the vhost-user-blk device backend, Coiby Xu, 2020/01/14
[PATCH v2 5/5] building configuration files changes, Coiby Xu, 2020/01/14