tcp_chr_accept(listener, cioc, opaque) at chardev/char-socket.c:961
> >
> > So we skip the update of used_memslots and used_shared_memslots when
> > destroying
> > vhost devices, and it should work event if all vhost devices are removed.
> >
> > Signed-o
event if all vhost devices are removed.
Signed-off-by: yuanminghao
---
hw/virtio/vhost.c | 14 +-
include/hw/virtio/vhost.h | 1 +
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c
index 6aa72fd434..2258a12066 100644
--- a