[PATCH 2/2] virtio: fix vq # when vq skipped

Jason Wang jasowang at redhat.com
Tue Jul 9 20:25:10 PDT 2024


On Fri, Jul 5, 2024 at 6:09 PM Michael S. Tsirkin <mst at redhat.com> 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 at redhat.com>

Acked-by: Jason Wang <jasowang at redhat.com>

Thanks




More information about the linux-um mailing list