From a1ea458fdf4711b5d3b23e987b47366d6a3b5924 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Thu, 8 Oct 2009 19:58:26 +0100 Subject: net: add -netdev option Patchworks-ID: 35506 Signed-off-by: Mark McLoughlin Signed-off-by: Anthony Liguori --- vl.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vl.c') diff --git a/vl.c b/vl.c index a4f7edf..534a63e 100644 --- a/vl.c +++ b/vl.c @@ -5087,6 +5087,11 @@ int main(int argc, char **argv, char **envp) fd_bootchk = 0; break; #endif + case QEMU_OPTION_netdev: + if (net_client_parse(&qemu_netdev_opts, optarg) == -1) { + exit(1); + } + break; case QEMU_OPTION_net: if (net_client_parse(&qemu_net_opts, optarg) == -1) { exit(1); -- cgit v1.1