From: BillXiang <xiangwench...@dayudpu.com> Send only once has been supported in vhost_user_write by vhost_user_per_device_request
Signed-off-by: BillXiang <xiangwench...@dayudpu.com> --- hw/virtio/vhost-user.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hw/virtio/vhost-user.c b/hw/virtio/vhost-user.c index 00561daa06..04e3568b7e 100644 --- a/hw/virtio/vhost-user.c +++ b/hw/virtio/vhost-user.c @@ -446,11 +446,6 @@ static int vhost_user_set_log_base(struct vhost_dev *dev, uint64_t base, .hdr.size = sizeof(msg.payload.log), }; - /* Send only once with first queue pair */ - if (dev->vq_index != 0) { - return 0; - } - if (shmfd && log->fd != -1) { fds[fd_num++] = log->fd; } -- 2.30.0