vhost-vdpa: negotiate VIRTIO_NET_F_STATUS with driver
authorSi-Wei Liu <si-wei.liu@oracle.com>
Thu, 1 Oct 2020 20:09:45 +0000 (16:09 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 30 Oct 2020 08:29:13 +0000 (04:29 -0400)
commit9aa47edd4ee69fa0628c5f9adb52d5050a5bce6a
tree5a79669fdf63f4cf6d05ba2b6718c4b31092547e
parent802427bcdae1ad2eceea8a8877ecad835e3f8fde
vhost-vdpa: negotiate VIRTIO_NET_F_STATUS with driver

Vendor driver may not support or implement config
interrupt delivery for link status notifications.
In this event, vendor driver is expected to NACK
the feature, but guest will keep link always up.

Signed-off-by: Si-Wei Liu <si-wei.liu@oracle.com>
Message-Id: <1601582985-14944-1-git-send-email-si-wei.liu@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
net/vhost-vdpa.c