From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yxe0t-0003dB-Ni for qemu-devel@nongnu.org; Wed, 27 May 2015 12:17:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yxe0m-0007wD-Qz for qemu-devel@nongnu.org; Wed, 27 May 2015 12:17:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yxe0m-0007w5-MY for qemu-devel@nongnu.org; Wed, 27 May 2015 12:16:56 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 5C5D48E770 for ; Wed, 27 May 2015 16:16:56 +0000 (UTC) From: Stefan Hajnoczi Date: Wed, 27 May 2015 17:16:48 +0100 Message-Id: <1432743412-15943-2-git-send-email-stefanha@redhat.com> In-Reply-To: <1432743412-15943-1-git-send-email-stefanha@redhat.com> References: <1432743412-15943-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH 1/5] net: add missing "netmap" to host_net_devices[] List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Markus Armbruster , Stefan Hajnoczi Although hmp-commands.hx lists "netmap" as a valid host_net_add type, the command rejects it because it's missing from the list. Signed-off-by: Stefan Hajnoczi --- net/net.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/net.c b/net/net.c index db6be12..c5349d2 100644 --- a/net/net.c +++ b/net/net.c @@ -58,6 +58,9 @@ const char *host_net_devices[] = { #ifdef CONFIG_NET_BRIDGE "bridge", #endif +#ifdef CONFIG_NETMAP + "netmap", +#endif #ifdef CONFIG_SLIRP "user", #endif -- 2.4.1