summaryrefslogtreecommitdiffstats
path: root/hw/virtio/vhost.c
diff options
context:
space:
mode:
authorKlaus Jensen2022-07-14 09:37:20 +0200
committerKlaus Jensen2022-12-01 08:45:03 +0100
commit83f56ac321ca2301f00e63b6acbde5c692916a1d (patch)
tree3586d9ac03ccfbf41d798cd29f33400dd9549359 /hw/virtio/vhost.c
parenthw/nvme: fix aio cancel in dsm (diff)
downloadqemu-83f56ac321ca2301f00e63b6acbde5c692916a1d.tar.gz
qemu-83f56ac321ca2301f00e63b6acbde5c692916a1d.tar.xz
qemu-83f56ac321ca2301f00e63b6acbde5c692916a1d.zip
hw/nvme: remove copy bh scheduling
Fix a potential use-after-free by removing the bottom half and enqueuing the completion directly. Fixes: 796d20681d9b ("hw/nvme: reimplement the copy command to allow aio cancellation") Reviewed-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'hw/virtio/vhost.c')
0 files changed, 0 insertions, 0 deletions