Re: [PATCH 1/7] virtio-net: align ctrl_vq index for non-mq guest for vhost_vdpa

2022-04-05 Thread Si-Wei Liu
On 4/1/2022 7:10 PM, Jason Wang wrote: On Sat, Apr 2, 2022 at 6:32 AM Si-Wei Liu wrote: On 3/31/2022 1:39 AM, Jason Wang wrote: On Wed, Mar 30, 2022 at 11:48 PM Si-Wei Liu wrote: On 3/30/2022 2:00 AM, Jason Wang wrote: On Wed, Mar 30, 2022 at 2:33 PM Si-Wei Liu wrote: With MQ enable

Re: [PATCH 1/7] virtio-net: align ctrl_vq index for non-mq guest for vhost_vdpa

2022-04-01 Thread Jason Wang
On Sat, Apr 2, 2022 at 6:32 AM Si-Wei Liu wrote: > > > > On 3/31/2022 1:39 AM, Jason Wang wrote: > > On Wed, Mar 30, 2022 at 11:48 PM Si-Wei Liu wrote: > >> > >> > >> On 3/30/2022 2:00 AM, Jason Wang wrote: > >>> On Wed, Mar 30, 2022 at 2:33 PM Si-Wei Liu wrote: > With MQ enabled vdpa devic

Re: [PATCH 1/7] virtio-net: align ctrl_vq index for non-mq guest for vhost_vdpa

2022-04-01 Thread Si-Wei Liu
On 3/31/2022 1:39 AM, Jason Wang wrote: On Wed, Mar 30, 2022 at 11:48 PM Si-Wei Liu wrote: On 3/30/2022 2:00 AM, Jason Wang wrote: On Wed, Mar 30, 2022 at 2:33 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 v

Re: [PATCH 1/7] virtio-net: align ctrl_vq index for non-mq guest for vhost_vdpa

2022-03-31 Thread Jason Wang
On Wed, Mar 30, 2022 at 11:48 PM Si-Wei Liu wrote: > > > > On 3/30/2022 2:00 AM, Jason Wang wrote: > > On Wed, Mar 30, 2022 at 2:33 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 > >> failur

Re: [PATCH 1/7] virtio-net: align ctrl_vq index for non-mq guest for vhost_vdpa

2022-03-30 Thread Si-Wei Liu
On 3/30/2022 2:00 AM, Jason Wang wrote: On Wed, Mar 30, 2022 at 2:33 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: Asser

Re: [PATCH 1/7] virtio-net: align ctrl_vq index for non-mq guest for vhost_vdpa

2022-03-30 Thread Jason Wang
On Wed, Mar 30, 2022 at 2:33 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 1/7] virtio-net: align ctrl_vq index for non-mq guest for vhost_vdpa

2022-03-29 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