diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-10-06 12:17:14 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-06 14:36:13 -0500 |
commit | 13cf8f2129677189c03009bc05995d461a93da6a (patch) | |
tree | 872d45cbdca3501eb4fe1b9383916efbf05ab600 /net.h | |
parent | 7f1c9d20eab92090650f0356d45fcdf5c190a22a (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |