Virtqueue has split and packed, so before setting inflight,
you need to inform the back-end virtqueue format.
Signed-off-by: Jin Yu
Acked-by: Raphael Norwitz
---
v2:
* Fixed the segfault.
---
hw/block/vhost-user-blk.c | 6 ++
hw/virtio/vhost.c | 20
include/hw
Virtqueue has split and packed, so before setting inflight,
you need to inform the back-end virtqueue format.
Signed-off-by: Jin Yu
---
hw/block/vhost-user-blk.c | 6 ++
hw/virtio/vhost.c | 18 ++
include/hw/virtio/vhost.h | 1 +
3 files changed, 25 insertions