qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 1/5] net: add missing "netmap" to host_net_devices[]


From: Stefan Hajnoczi
Subject: [Qemu-devel] [PULL 1/5] net: add missing "netmap" to host_net_devices[]
Date: Wed, 24 Jun 2015 16:37:23 +0100

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 <address@hidden>
Message-id: address@hidden
---
 net/net.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net/net.c b/net/net.c
index cc36c7b..f43af97 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
-- 
2.4.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]