]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio: reset region cache when on queue deletion
authorYuri Benditovich <yuri.benditovich@daynix.com>
Thu, 26 Dec 2019 04:36:48 +0000 (06:36 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 6 Jan 2020 17:04:51 +0000 (12:04 -0500)
commit421afd2fe8dd4603216cbf36081877c391f5a2a4
tree8e694ee8ef985e9f23c3b3526a0a8fc54243658d
parent1049f4c62c4070618cc5defc9963c6a17ae7a5ae
virtio: reset region cache when on queue deletion

https://bugzilla.redhat.com/show_bug.cgi?id=1708480
Fix leak of region reference that prevents complete
device deletion on hot unplug.

Cc: qemu-stable@nongnu.org
Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Message-Id: <20191226043649.14481-2-yuri.benditovich@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio.c