Received: from eggs.gnu.org ([2001:4830:134:3::10]:56902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YG8KY-0001qL-4U for qemu-devel@nongnu.org; Tue, 27 Jan 2015 10:45:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YG8KU-0007ei-SH for qemu-devel@nongnu.org; Tue, 27 Jan 2015 10:45:30 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YG8KU-0007eb-KO for qemu-devel@nongnu.org; Tue, 27 Jan 2015 10:45:26 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t0RFjP0i018008 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 27 Jan 2015 10:45:25 -0500 Received: from redhat.com (ovpn-116-122.ams2.redhat.com [10.36.116.122]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id t0RFjN3t001693 for ; Tue, 27 Jan 2015 10:45:24 -0500 Date: Tue, 27 Jan 2015 17:45:23 +0200 From: "Michael S. Tsirkin" Message-ID: <1422373499-10481-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH RFC] vhost_net: add version_1 feature List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Add VERSION_1 to list of features that we should test at the backend. Signed-off-by: Michael S. Tsirkin --- On top of virtio-1 rfc. hw/net/vhost_net.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/net/vhost_net.c b/hw/net/vhost_net.c index a6d4ef2..9028e52 100644 --- a/hw/net/vhost_net.c +++ b/hw/net/vhost_net.c @@ -52,6 +52,7 @@ static const int kernel_feature_bits[] = { VIRTIO_RING_F_INDIRECT_DESC, VIRTIO_RING_F_EVENT_IDX, VIRTIO_NET_F_MRG_RXBUF, + VIRTIO_F_VERSION_1, VHOST_INVALID_FEATURE_BIT }; @@ -62,6 +63,7 @@ const int user_feature_bits[] = { VIRTIO_RING_F_EVENT_IDX, VIRTIO_F_ANY_LAYOUT, + VIRTIO_F_VERSION_1, VIRTIO_NET_F_CSUM, VIRTIO_NET_F_GUEST_CSUM, VIRTIO_NET_F_GSO, -- MST