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

2022-05-05 Thread Jason Wang
On Sat, Apr 30, 2022 at 9:13 AM Si-Wei Liu wrote: > > > > On 4/28/2022 7:23 PM, Jason Wang wrote: > > > > 在 2022/4/27 16:30, 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: > >

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

2022-04-29 Thread Si-Wei Liu
On 4/28/2022 7:24 PM, Jason Wang wrote: On Fri, Apr 29, 2022 at 10:24 AM Jason Wang wrote: 在 2022/4/27 16:30, 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.

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

2022-04-29 Thread Si-Wei Liu
On 4/28/2022 7:23 PM, Jason Wang wrote: 在 2022/4/27 16:30, 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 >= de

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

2022-04-28 Thread Jason Wang
On Fri, Apr 29, 2022 at 10:24 AM Jason Wang wrote: > > > 在 2022/4/27 16:30, 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_v

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

2022-04-28 Thread Jason Wang
在 2022/4/27 16:30, 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->n

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

2022-04-27 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