Re: [PATCH] vhost-user: Fix out of order vring host notification handling

2022-10-18 Thread Alex Bennée
Yajun Wu writes: > vhost backend sends host notification for every VQ. If backend creates > VQs in parallel, the VHOST_USER_SLAVE_VRING_HOST_NOTIFIER_MSG may > arrive to QEMU in different order than incremental queue index order. > > For example VQ 1's message arrive earlier than VQ 0's: > Afte

[PATCH] vhost-user: Fix out of order vring host notification handling

2022-10-17 Thread Yajun Wu
vhost backend sends host notification for every VQ. If backend creates VQs in parallel, the VHOST_USER_SLAVE_VRING_HOST_NOTIFIER_MSG may arrive to QEMU in different order than incremental queue index order. For example VQ 1's message arrive earlier than VQ 0's: After alloc VhostUserHostNotifier fo