[PATCH 2/2] net/virtio: fix notification area initialization
David Marchand
david.marchand at redhat.com
Tue Mar 12 15:12:20 CET 2024
On Tue, Mar 12, 2024 at 11:48 AM Maxime Coquelin
<maxime.coquelin at redhat.com> wrote:
>
> Notification area is a Virtio feature that require to be
requires*
> negotiated because not all devices support it. Currently,
> it is tried to be initialized as soon as the backend
> implements the callback, so it assumes all Vhost-vDPA
> devices support it.
>
> This patch skips calling the notification area map callback
> if the device does not advertise its support.
>
> Fixes: 0fd2782660c8 ("net/virtio-user: support notification area mapping")
>
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Reviewed-by: David Marchand <david.marchand at redhat.com>
--
David Marchand
More information about the dev
mailing list