qemu-e2k/block/export
Stefan Hajnoczi df6af7ce77 block/export: consolidate request structs into VuBlockReq
Only one struct is needed per request. Drop req_data and the separate
VuBlockReq instance. Instead let vu_queue_pop() allocate everything at
once.

This fixes the req_data memory leak in vu_block_virtio_process_req().

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20200924151549.913737-6-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2020-10-23 13:42:16 +01:00
..
export.c block/export: Move writable to BlockExportOptions 2020-10-02 15:46:40 +02:00
meson.build block/export: Add BlockExport infrastructure and block-export-add 2020-10-02 15:46:40 +02:00
vhost-user-blk-server.c block/export: consolidate request structs into VuBlockReq 2020-10-23 13:42:16 +01:00
vhost-user-blk-server.h block/export: vhost-user block device backend server 2020-10-23 13:42:16 +01:00