Re: [Qemu-devel] [PATCH v2 2/3] vhost-user: fix ioeventfd_enabled

2019-01-14 Thread Michael S. Tsirkin
On Sat, Dec 15, 2018 at 04:03:52AM -0800, Li Qiang wrote: > Currently, the vhost-user-test assumes the eventfd is available. > However it's not true because the accel is qtest. So the > 'vhost_set_vring_file' will not add fds to the msg and the server > side of vhost-user-test will be broken. The b

[Qemu-devel] [PATCH v2 2/3] vhost-user: fix ioeventfd_enabled

2018-12-15 Thread Li Qiang
Currently, the vhost-user-test assumes the eventfd is available. However it's not true because the accel is qtest. So the 'vhost_set_vring_file' will not add fds to the msg and the server side of vhost-user-test will be broken. The bug is in 'ioeventfd_enabled'. We should make this function return