Re: [Qemu-devel] [PATCH v2 0/3] vhost-user-test fix

2018-12-23 Thread Li Qiang
Ping.. Li Qiang 于2018年12月15日周六 下午8:06写道: > Currently, the vhost-user-test is not correct. > When in qtest mode, the accel is qtest, not kvm. > So when the client side of vhost-user-test send > 'VHOST_USER_SET_VRING_CALL' msg, the 'fd' will > no be added in 'fds' in 'vhost_set_vring_file'. > In

[Qemu-devel] [PATCH v2 0/3] vhost-user-test fix

2018-12-15 Thread Li Qiang
Currently, the vhost-user-test is not correct. When in qtest mode, the accel is qtest, not kvm. So when the client side of vhost-user-test send 'VHOST_USER_SET_VRING_CALL' msg, the 'fd' will no be added in 'fds' in 'vhost_set_vring_file'. In 'chr_read' of the server side in the vhost-user-test,