diff options
| author | Stefan Hajnoczi <stefanha@redhat.com> | 2015-05-27 17:16:48 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2015-06-24 16:29:07 +0100 |
| commit | 027a247bbf703e94258d07e38948946d7b85e91c (patch) | |
| tree | bde8c62215f2d971d3bea83d7b27d3246c00c9da /net/net.c | |
| parent | a3206972a9eab65ec8e8f9ae320ad628ba4b58f1 (diff) | |
| download | focaccia-qemu-027a247bbf703e94258d07e38948946d7b85e91c.tar.gz focaccia-qemu-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
Diffstat (limited to 'net/net.c')
| -rw-r--r-- | net/net.c | 3 |
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 |