aboutsummaryrefslogtreecommitdiff
path: root/chardev/char-io.c
diff options
context:
space:
mode:
authorLi Qiang <liq3ea@163.com>2018-12-15 04:03:52 -0800
committerMichael S. Tsirkin <mst@redhat.com>2019-01-14 19:31:04 -0500
commitb0aa77d36d9150aaa7acd8b86e4e65162939d0bf (patch)
tree3dbd01db77d39daa779dbeba6df13066b95ee2a0 /chardev/char-io.c
parent82248cd45e6f82da892127c4749ae89335217e31 (diff)
vhost-user: fix ioeventfd_enabled
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 true if not using kvm accel. Signed-off-by: Li Qiang <liq3ea@163.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'chardev/char-io.c')
0 files changed, 0 insertions, 0 deletions