projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a320697
)
net: add missing "netmap" to host_net_devices[]
author
Stefan Hajnoczi
<stefanha@redhat.com>
Wed, 27 May 2015 16:16:48 +0000
(17:16 +0100)
committer
Stefan Hajnoczi
<stefanha@redhat.com>
Wed, 24 Jun 2015 15:29:07 +0000
(16:29 +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 <stefanha@redhat.com>
Message-id:
1432743412
-15943-2-git-send-email-stefanha@redhat.com
net/net.c
patch
|
blob
|
history
diff --git
a/net/net.c
b/net/net.c
index cc36c7b4fe63f48fab07a79939a3b2090cd7ce6f..f43af97af3cbc434227eb350af15785753af0fc2 100644
(file)
--- 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