[PATCH] vhost: also check queue state in the vhost_dev_set_log error routine

2022-06-09 Thread Ni Xun
From: Ni Xun When check queue state in the vhost_dev_set_log routine, it miss the error routine check, this patch also check queue state in error case. Fixes: 1e5a050f5798 ("check queue state in the vhost_dev_set_log routine") Signed-off-by: Ni Xun Reviewed-by: Zhigang Lu ---

[PATCH] resend slave fd to vhost when reconnect to vhost

2020-04-17 Thread ni . xun . intel
From: Ni Xun when reconnecting to vhost server, it doesn't send slave fd to vhost as the slave fd is only sent in vhost_user_init. also resend the slave fd in vhost reconnect. Signed-off-by: Ni Xun Signed-off-by: Lu Zhigang Signed-off-by: Yan Miao Signed-off-by: lucascye --- hw/block/vhost