From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyhhB-0000BM-PA for qemu-devel@nongnu.org; Tue, 17 Nov 2015 09:57:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zyhh7-0001hC-O7 for qemu-devel@nongnu.org; Tue, 17 Nov 2015 09:57:21 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zyhh7-0001h8-IZ for qemu-devel@nongnu.org; Tue, 17 Nov 2015 09:57:17 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 188F642E5B7 for ; Tue, 17 Nov 2015 14:57:17 +0000 (UTC) Date: Tue, 17 Nov 2015 16:57:14 +0200 From: "Michael S. Tsirkin" Message-ID: <1447772226-28517-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] vhost-user: ignore qemu-only features List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Victor Kaplansky , Jason Wang Some feratures (such as ctrl vq) are supported by qemu without need to communicate with the backend. Drop them from the feature mask so we set them unconditionally. Reported-by: Victor Kaplansky Signed-off-by: Michael S. Tsirkin --- hw/net/vhost_net.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/hw/net/vhost_net.c b/hw/net/vhost_net.c index 14337a4..8c9b52d 100644 --- a/hw/net/vhost_net.c +++ b/hw/net/vhost_net.c @@ -77,15 +77,6 @@ static const int user_feature_bits[] = { VIRTIO_NET_F_HOST_ECN, VIRTIO_NET_F_HOST_UFO, VIRTIO_NET_F_MRG_RXBUF, - VIRTIO_NET_F_STATUS, - VIRTIO_NET_F_CTRL_VQ, - VIRTIO_NET_F_CTRL_RX, - VIRTIO_NET_F_CTRL_VLAN, - VIRTIO_NET_F_CTRL_RX_EXTRA, - VIRTIO_NET_F_CTRL_MAC_ADDR, - VIRTIO_NET_F_CTRL_GUEST_OFFLOADS, - - VIRTIO_NET_F_GUEST_ANNOUNCE, VIRTIO_NET_F_MQ, -- MST