diff options
author | Pan Nengyuan <pannengyuan@huawei.com> | 2020-02-25 15:55:53 +0800 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2020-06-22 12:50:39 -0500 |
commit | 5e063a5846e5f2d85646a8019e7c8b8de8f25015 (patch) | |
tree | b89a23b4873e5e8be17bb8f7545c4694eca74cba /module-common.c | |
parent | 1509a1324048d90913de11674d68c0b43a3a555e (diff) |
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>
(cherry picked from commit 9861546e1dae05c5152de7d3bd14e341ecadc972)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions