net: add QemuOptsList arg to net_client_parse()

Patchworks-ID: 35505
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-08 19:58:25 +01:00 committed by Anthony Liguori
parent d80b9fc628
commit 7f161aaea6
3 changed files with 6 additions and 5 deletions

2
vl.c
View file

@ -5088,7 +5088,7 @@ int main(int argc, char **argv, char **envp)
break;
#endif
case QEMU_OPTION_net:
if (net_client_parse(optarg) == -1) {
if (net_client_parse(&qemu_net_opts, optarg) == -1) {
exit(1);
}
break;