Re: [PATCH 2/2] virtio: fix vq # when vq skipped
From: Jason Wang
Date: Tue Jul 09 2024 - 23:25:44 EST
On Fri, Jul 5, 2024 at 6:09 PM Michael S. Tsirkin <mst@xxxxxxxxxx> wrote:
>
> virtio balloon communicates to the core that in some
> configurations vq #s are non-contiguous by setting name
> pointer to NULL.
>
> Unfortunately, core then turned around and just made them
> contiguous again. Result is that driver is out of spec.
>
> Implement what the API was supposed to do
> in the 1st place. Compatibility with buggy hypervisors
> is handled inside virtio-balloon, which is the only driver
> making use of this facility, so far.
>
> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
Acked-by: Jason Wang <jasowang@xxxxxxxxxx>
Thanks