vhost-vdpa: Add qemu_close in vhost_vdpa_cleanup
authorCindy Lu <lulu@redhat.com>
Fri, 16 Oct 2020 03:09:08 +0000 (11:09 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 3 Nov 2020 21:39:05 +0000 (16:39 -0500)
commit57b3a7d81bd7b5fb846ab5c05597a853259a1853
treec7fde90772d4c6bfc37686663f5c7f57ba359e20
parent1b296c3def4b9b63d2fdbce6646edd108a3e616c
vhost-vdpa: Add qemu_close in vhost_vdpa_cleanup

fix the bug that fd will still open after the cleanup

Signed-off-by: Cindy Lu <lulu@redhat.com>
Message-Id: <20201016030909.9522-1-lulu@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
net/vhost-vdpa.c