aboutsummaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2009-10-08 19:58:27 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-15 09:32:01 -0500
commitf6b134ac30cc61ebf995537d99ec312d8ba74996 (patch)
treedd0ef5a91c79c68372bc50ed34ad663b36fac1a6 /net.h
parentnet: add -netdev option (diff)
downloadqemu-kvm-f6b134ac30cc61ebf995537d99ec312d8ba74996.tar.gz
qemu-kvm-f6b134ac30cc61ebf995537d99ec312d8ba74996.tar.bz2
qemu-kvm-f6b134ac30cc61ebf995537d99ec312d8ba74996.zip
net: handle -netdevice options
Same as for -net except for: - only tap, user, vde and socket types are supported - the vlan parameter is not allowed - the name parameter is not allowed but the id parameter is required Patchworks-ID: 35517 Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net.h')
-rw-r--r--net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net.h b/net.h
index 404190cb8..edaf9422c 100644
--- a/net.h
+++ b/net.h
@@ -134,7 +134,7 @@ void net_checksum_calculate(uint8_t *data, int length);
extern const char *legacy_tftp_prefix;
extern const char *legacy_bootp_filename;
-int net_client_init(Monitor *mon, QemuOpts *opts);
+int net_client_init(Monitor *mon, QemuOpts *opts, int is_netdev);
void net_client_uninit(NICInfo *nd);
int net_client_parse(QemuOptsList *opts_list, const char *str);
int net_init_clients(void);