summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2015-05-27 17:16:48 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2015-06-24 16:29:07 +0100
commit027a247bbf703e94258d07e38948946d7b85e91c (patch)
treebde8c62215f2d971d3bea83d7b27d3246c00c9da
parenta3206972a9eab65ec8e8f9ae320ad628ba4b58f1 (diff)
downloadqemu-027a247bbf703e94258d07e38948946d7b85e91c.zip
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 <stefanha@redhat.com> Message-id: 1432743412-15943-2-git-send-email-stefanha@redhat.com
-rw-r--r--net/net.c3
1 files changed, 3 insertions, 0 deletions
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