Displaying 1 result from an estimated 1 matches for "vdpasim_blk".
Did you mean:
vdpa_sim_blk
2023 Apr 07
2
[PATCH 0/2] vdpa_sim_blk: support shared backend
...preparation and moves the buffer allocation into devices,
the second patch adds the `shared_buffer_mutex` parameter to vdpa_sim_blk to
use the same ramdisk for all devices.
Tested with QEMU v8.0.0-rc2 in this way:
modprobe vhost_vdpa
modprobe vdpa_sim_blk shared_backend=true
vdpa dev add mgmtdev vdpasim_blk name blk0
vdpa dev add mgmtdev vdpasim_blk name blk1
qemu-system-x86_64 -m 512M -smp 2 -M q35,accel=kvm,memory-backend=mem \
?-object memory-backend-file,share=on,id=mem,size="512M",mem-path="/dev/shm"
?...
?-blockdev node-name=drive_src1,driver=virtio-blk-vhost-vdpa,path=/d...