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 | cfd51da0456c1b103cb890efb0c8242fc033b9eb (patch) | |
tree | 872d45cbdca3501eb4fe1b9383916efbf05ab600 /net.h | |
parent | 58d83028175f76cb402b0b3bfbaa55da41508776 (diff) | |
download | qemu-cfd51da0456c1b103cb890efb0c8242fc033b9eb.tar.gz qemu-cfd51da0456c1b103cb890efb0c8242fc033b9eb.tar.bz2 qemu-cfd51da0456c1b103cb890efb0c8242fc033b9eb.zip |
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); |