aboutsummaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2009-10-06 12:17:14 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-06 14:36:13 -0500
commit13cf8f2129677189c03009bc05995d461a93da6a (patch)
tree872d45cbdca3501eb4fe1b9383916efbf05ab600 /net.h
parent7f1c9d20eab92090650f0356d45fcdf5c190a22a (diff)
Port usb net to QemuOpts
We need net_client_init_from_opts() exported for this 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, 2 insertions, 0 deletions
diff --git a/net.h b/net.h
index a2d5b3c247..27a1c501ae 100644
--- a/net.h
+++ b/net.h
@@ -4,6 +4,7 @@
#include "qemu-queue.h"
#include "qemu-common.h"
#include "qdict.h"
+#include "qemu-option.h"
/* VLANs support */
@@ -136,6 +137,7 @@ extern const char *legacy_tftp_prefix;
extern const char *legacy_bootp_filename;
int net_client_init(Monitor *mon, const char *device, const char *p);
+int net_client_init_from_opts(Monitor *mon, QemuOpts *opts);
void net_client_uninit(NICInfo *nd);
int net_client_parse(const char *str);
int net_slirp_smb(const char *exported_dir);