Re: [PATCH v3 2/6] virtio-net: align ctrl_vq index for non-mq guest for vhost_vdpa

2022-05-06 Thread Jason Wang
On Fri, May 6, 2022 at 12:54 PM Si-Wei Liu wrote: > > With MQ enabled vdpa device and non-MQ supporting guest e.g. > booting vdpa with mq=on over OVMF of single vqp, below assert > failure is seen: > > ../hw/virtio/vhost-vdpa.c:560: vhost_vdpa_get_vq_index: Assertion `idx >= > dev->vq_index && id

[PATCH v3 2/6] virtio-net: align ctrl_vq index for non-mq guest for vhost_vdpa

2022-05-05 Thread Si-Wei Liu
With MQ enabled vdpa device and non-MQ supporting guest e.g. booting vdpa with mq=on over OVMF of single vqp, below assert failure is seen: ../hw/virtio/vhost-vdpa.c:560: vhost_vdpa_get_vq_index: Assertion `idx >= dev->vq_index && idx < dev->vq_index + dev->nvqs' failed. 0 0x7f8ce3ff3387 in