summary refs log tree commit diff stats
path: root/scripts/qapi/commands.py
diff options
context:
space:
mode:
authorPan Nengyuan <pannengyuan@huawei.com>2020-02-25 15:55:53 +0800
committerMichael S. Tsirkin <mst@redhat.com>2020-02-25 08:32:45 -0500
commit9861546e1dae05c5152de7d3bd14e341ecadc972 (patch)
tree8325679bfe0e7b654986ce055988da0cb9bd6ab3 /scripts/qapi/commands.py
parent2e5bc65935ddf8ee152c1317a3d3bb4bb73e727d (diff)
downloadfocaccia-qemu-9861546e1dae05c5152de7d3bd14e341ecadc972.tar.gz
focaccia-qemu-9861546e1dae05c5152de7d3bd14e341ecadc972.zip
virtio-pmem: do delete rq_vq in virtio_pmem_unrealize
Similar to other virtio-devices, rq_vq forgot to delete in
virtio_pmem_unrealize, this patch fix it.  This device has already
maintained a vq pointer, thus we use the new virtio_delete_queue
function directly to do the cleanup.

Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Pan Nengyuan <pannengyuan@huawei.com>
Message-Id: <20200225075554.10835-4-pannengyuan@huawei.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/qapi/commands.py')
0 files changed, 0 insertions, 0 deletions