From 027a247bbf703e94258d07e38948946d7b85e91c Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Wed, 27 May 2015 17:16:48 +0100 Subject: net: add missing "netmap" to host_net_devices[] 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 Message-id: 1432743412-15943-2-git-send-email-stefanha@redhat.com --- net/net.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'net') diff --git a/net/net.c b/net/net.c index cc36c7b4fe..f43af97af3 100644 --- a/net/net.c +++ b/net/net.c @@ -60,6 +60,9 @@ const char *host_net_devices[] = { #ifdef CONFIG_NET_BRIDGE "bridge", #endif +#ifdef CONFIG_NETMAP + "netmap", +#endif #ifdef CONFIG_SLIRP "user", #endif -- cgit v1.2.1