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
---
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