diff options
author | Xie Yongji | 2022-05-23 10:46:09 +0200 |
---|---|---|
committer | Kevin Wolf | 2022-06-24 17:07:06 +0200 |
commit | 2a2359b84407b35fe978e98b7396f2ab8c5dd8b7 (patch) | |
tree | 9ed8b268bc8db0f025db90f5307a822d5fdfb13a /MAINTAINERS | |
parent | libvduse: Add VDUSE (vDPA Device in Userspace) library (diff) | |
download | qemu-2a2359b84407b35fe978e98b7396f2ab8c5dd8b7.tar.gz qemu-2a2359b84407b35fe978e98b7396f2ab8c5dd8b7.tar.xz qemu-2a2359b84407b35fe978e98b7396f2ab8c5dd8b7.zip |
vduse-blk: Implement vduse-blk export
This implements a VDUSE block backends based on
the libvduse library. We can use it to export the BDSs
for both VM and container (host) usage.
The new command-line syntax is:
$ qemu-storage-daemon \
--blockdev file,node-name=drive0,filename=test.img \
--export vduse-blk,node-name=drive0,id=vduse-export0,writable=on
After the qemu-storage-daemon started, we need to use
the "vdpa" command to attach the device to vDPA bus:
$ vdpa dev add name vduse-export0 mgmtdev vduse
Also the device must be removed via the "vdpa" command
before we stop the qemu-storage-daemon.
Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20220523084611.91-7-xieyongji@bytedance.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index b14891898c..1cbd6b72fa 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3594,10 +3594,12 @@ L: qemu-block@nongnu.org S: Supported F: block/export/fuse.c -VDUSE library +VDUSE library and block device exports M: Xie Yongji <xieyongji@bytedance.com> S: Maintained F: subprojects/libvduse/ +F: block/export/vduse-blk.c +F: block/export/vduse-blk.h Replication M: Wen Congyang <wencongyang2@huawei.com> |