Re: [PATCH] vdpa_sim_net: Offer VIRTIO_NET_F_STATUS

From: Stefano Garzarella
Date: Thu Nov 17 2022 - 11:28:06 EST


On Thu, Nov 17, 2022 at 04:55:02PM +0100, Eugenio Pérez wrote:
VIRTIO_NET_S_LINK_UP is already returned in config reads since vdpasim
creation, but the feature bit was not offered to the driver.

Tested modifying VIRTIO_NET_S_LINK_UP and different values of "status"
in qemu virtio-net options, using vhost_vdpa.

Not considering as a fix, because there should be no driver trusting in
this config read before the feature flag.

Signed-off-by: Eugenio Pérez <eperezma@xxxxxxxxxx>
---
drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 1 +
1 file changed, 1 insertion(+)

Reviewed-by: Stefano Garzarella <sgarzare@xxxxxxxxxx>