From 13cf8f2129677189c03009bc05995d461a93da6a Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Tue, 6 Oct 2009 12:17:14 +0100 Subject: Port usb net to QemuOpts We need net_client_init_from_opts() exported for this Signed-off-by: Mark McLoughlin Signed-off-by: Anthony Liguori --- net.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'net.h') 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); -- cgit v1.2.3