thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

Blame SOURCES/kvm-vdpa-do-not-handle-VIRTIO_NET_F_GUEST_ANNOUNCE-in-vh.patch

ed5979
From fbb177ad84d562a20e51e71c73257d2ef85be2d9 Mon Sep 17 00:00:00 2001
ed5979
From: =?UTF-8?q?Eugenio=20P=C3=A9rez?= <eperezma@redhat.com>
ed5979
Date: Wed, 21 Dec 2022 12:50:15 +0100
ed5979
Subject: [PATCH 4/9] vdpa: do not handle VIRTIO_NET_F_GUEST_ANNOUNCE in
ed5979
 vhost-vdpa
ed5979
MIME-Version: 1.0
ed5979
Content-Type: text/plain; charset=UTF-8
ed5979
Content-Transfer-Encoding: 8bit
ed5979
ed5979
RH-Author: Eugenio Pérez <eperezma@redhat.com>
ed5979
RH-MergeRequest: 137: vDPA net SVQ guest announce support
ed5979
RH-Bugzilla: 2141088
ed5979
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
ed5979
RH-Acked-by: Cindy Lu <lulu@redhat.com>
ed5979
RH-Acked-by: Jason Wang <jasowang@redhat.com>
ed5979
RH-Commit: [4/4] b3960a8b3e4ca569b1b1e6ceccf2051d8c4b1079 (eperezmartin/qemu-kvm)
ed5979
ed5979
So qemu emulates it even in case the device does not support it.
ed5979
ed5979
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
ed5979
Acked-by: Jason Wang <jasowang@redhat.com>
ed5979
Message-Id: <20221221115015.1400889-5-eperezma@redhat.com>
ed5979
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
ed5979
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
ed5979
(cherry picked from commit 980003debddd18306ea2e1364b96598383c0e257)
ed5979
---
ed5979
 net/vhost-vdpa.c | 1 -
ed5979
 1 file changed, 1 deletion(-)
ed5979
ed5979
diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c
ed5979
index 52ef9cb3a2..b06540ac89 100644
ed5979
--- a/net/vhost-vdpa.c
ed5979
+++ b/net/vhost-vdpa.c
ed5979
@@ -72,7 +72,6 @@ const int vdpa_feature_bits[] = {
ed5979
     VIRTIO_F_RING_RESET,
ed5979
     VIRTIO_NET_F_RSS,
ed5979
     VIRTIO_NET_F_HASH_REPORT,
ed5979
-    VIRTIO_NET_F_GUEST_ANNOUNCE,
ed5979
     VIRTIO_NET_F_STATUS,
ed5979
     VHOST_INVALID_FEATURE_BIT
ed5979
 };
ed5979
-- 
ed5979
2.31.1
ed5979