[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
- [Qemu-devel] [PULL 0/5] Net patches, Stefan Hajnoczi, 2015/06/24
- [Qemu-devel] [PULL 2/5] net: replace net_client_init1() netdev whitelist with blacklist, Stefan Hajnoczi, 2015/06/24
- [Qemu-devel] [PULL 1/5] net: add missing "netmap" to host_net_devices[],
Stefan Hajnoczi <=
- [Qemu-devel] [PULL 5/5] net: simplify net_client_init1(), Stefan Hajnoczi, 2015/06/24
- [Qemu-devel] [PULL 4/5] net: drop if expression that is always true, Stefan Hajnoczi, 2015/06/24
- [Qemu-devel] [PULL 3/5] net: raise an error if -net type is invalid, Stefan Hajnoczi, 2015/06/24
- Re: [Qemu-devel] [PULL 0/5] Net patches, Peter Maydell, 2015/06/25