cloud-hypervisor/virtio-devices/src/vhost_user
Arafatms 8fb53eb167 virtio-devices: vhost-user: Send set_vring_num before setup inflight I/O tracking
backend like SPDK required to know how many virt queues to be handled
before gets VHOST_USER_SET_INFLIGHT_FD message.

fix dpdk core dump while processing vhost_user_set_inflight_fd:
    #0 0x00007fffef47c347 in vhost_user_set_inflight_fd (pdev=0x7fffe2895998, msg=0x7fffe28956f0, main_fd=545) at ../lib/librte_vhost/vhost_user.c:1570
    #1 0x00007fffef47e7b9 in vhost_user_msg_handler (vid=0, fd=545) at ../lib/librte_vhost/vhost_user.c:2735
    #2 0x00007fffef46bac0 in vhost_user_read_cb (connfd=545, dat=0x7fffdc0008c0, remove=0x7fffe2895a64) at ../lib/librte_vhost/socket.c:309
    #3 0x00007fffef45b3f6 in fdset_event_dispatch (arg=0x7fffef6dc2e0 <vhost_user+8192>) at ../lib/librte_vhost/fd_man.c:286
    #4 0x00007ffff09926f3 in rte_thread_init (arg=0x15ee180) at ../lib/librte_eal/common/eal_common_thread.c:175

Signed-off-by: Arafatms <arafatms@outlook.com>
2021-08-04 09:25:00 +02:00
..
blk.rs virtio-devices: vhost-user: Send set_vring_num before setup inflight I/O tracking 2021-08-04 09:25:00 +02:00
fs.rs virtio-devices: vhost_user: Add snapshot/restore support 2021-07-29 06:35:03 -07:00
mod.rs virtio-devices: vhost_user: Add pause/resume support 2021-07-29 06:35:03 -07:00
net.rs virtio-devices: vhost_user: Add snapshot/restore support 2021-07-29 06:35:03 -07:00
vu_common_ctrl.rs virtio-devices: vhost-user: Send set_vring_num before setup inflight I/O tracking 2021-08-04 09:25:00 +02:00