search for: vdpasim_blk_mgmtdev

Displaying 2 results from an estimated 2 matches for "vdpasim_blk_mgmtdev".

2023 Aug 21
0
[PATCH] vdpa_sim_blk: Fix the potential leak of mgmt_dev
...OMEM; > - goto parent_err; > + goto mgmt_dev_err; > } > } > > return 0; > - > +mgmt_dev_err: > + vdpa_mgmtdev_unregister(&mgmt_dev); > parent_err: > device_unregister(&vdpasim_blk_mgmtdev); > return ret; > -- > 2.34.1 >
2023 Apr 07
2
[PATCH 0/2] vdpa_sim_blk: support shared backend
This series is mainly for testing live migration between 2 vdpa_sim_blk devices. The first patch is 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