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>
This commit is contained in:
Mark McLoughlin 2009-10-06 12:17:14 +01:00 committed by Anthony Liguori
parent 7f1c9d20ea
commit 13cf8f2129
3 changed files with 18 additions and 5 deletions

2
net.c
View file

@ -3001,7 +3001,7 @@ static struct {
{ /* end of list */ }
};
static int net_client_init_from_opts(Monitor *mon, QemuOpts *opts)
int net_client_init_from_opts(Monitor *mon, QemuOpts *opts)
{
const char *type;
int i;