diff options
author | Si-Wei Liu <si-wei.liu@oracle.com> | 2020-10-01 16:09:45 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-10-30 04:29:13 -0400 |
commit | 9aa47edd4ee69fa0628c5f9adb52d5050a5bce6a (patch) | |
tree | 5a79669fdf63f4cf6d05ba2b6718c4b31092547e /net | |
parent | 802427bcdae1ad2eceea8a8877ecad835e3f8fde (diff) | |
download | qemu-9aa47edd4ee69fa0628c5f9adb52d5050a5bce6a.zip qemu-9aa47edd4ee69fa0628c5f9adb52d5050a5bce6a.tar.gz qemu-9aa47edd4ee69fa0628c5f9adb52d5050a5bce6a.tar.bz2 |
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/vhost-vdpa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c index e2b3ba8..99c476d 100644 --- a/net/vhost-vdpa.c +++ b/net/vhost-vdpa.c @@ -55,6 +55,7 @@ const int vdpa_feature_bits[] = { VIRTIO_F_IOMMU_PLATFORM, VIRTIO_F_RING_PACKED, VIRTIO_NET_F_GUEST_ANNOUNCE, + VIRTIO_NET_F_STATUS, VHOST_INVALID_FEATURE_BIT }; |