aboutsummaryrefslogtreecommitdiff
path: root/pc-bios/QEMU,cgthree.bin
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2022-02-11 18:02:59 +0100
committerMichael S. Tsirkin <mst@redhat.com>2022-03-06 05:08:23 -0500
commit98f7607ecda00dea3cbb2ed7b4427c96846efb83 (patch)
treeab190ef7a3e14ed7c56f6a97bfe2adc35e8d6fb7 /pc-bios/QEMU,cgthree.bin
parent0a24dd1fd50582cfbcac191cd24ccad48f6d2478 (diff)
hw/virtio: vdpa: Fix leak of host-notifier memory-region
If call virtio_queue_set_host_notifier_mr fails, should free host-notifier memory-region. This problem can trigger a coredump with some vDPA drivers (mlx5, but not with the vdpasim), if we unplug the virtio-net card from the guest after a stop/start. The same fix has been done for vhost-user: 1f89d3b91e3e ("hw/virtio: Fix leak of host-notifier memory-region") Fixes: d0416d487bd5 ("vhost-vdpa: map virtqueue notification area if possible") Cc: jasowang@redhat.com Resolves: https://bugzilla.redhat.com/2027208 Signed-off-by: Laurent Vivier <lvivier@redhat.com> Message-Id: <20220211170259.1388734-1-lvivier@redhat.com> Cc: qemu-stable@nongnu.org Acked-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'pc-bios/QEMU,cgthree.bin')
0 files changed, 0 insertions, 0 deletions