diff options
author | Stefan Hajnoczi | 2020-09-24 17:15:41 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2020-10-23 14:42:16 +0200 |
commit | df6af7ce77447be89e0d054dc06fb496ec4e69b4 (patch) | |
tree | 9ae4798537b16ec3fa5458b8ecff436819bae068 /util | |
parent | util/vhost-user-server: drop unnecessary watch deletion (diff) | |
download | qemu-df6af7ce77447be89e0d054dc06fb496ec4e69b4.tar.gz qemu-df6af7ce77447be89e0d054dc06fb496ec4e69b4.tar.xz qemu-df6af7ce77447be89e0d054dc06fb496ec4e69b4.zip |
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>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions