From 59a5264b994343f01d19faf95c0e5df70346ded8 Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Thu, 10 Jun 2010 11:42:25 +0200 Subject: Introduce OS specific cmdline argument handling and move SMB arg to os-posix.c Introduce OS specific cmdline argument handling by calling os_parse_cmd_args() at the end of switch() statement. Move option enum to qemu-options.h and have it included from os-posix.c and os-win32.c in addition to vl.c. In addition move SMB argument to os-posix.c Signed-off-by: Jes Sorensen Acked-by: Juan Quintela Acked-by: Richard Henderson Signed-off-by: Blue Swirl --- os-win32.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'os-win32.c') diff --git a/os-win32.c b/os-win32.c index 17585385c3..aefc535ed0 100644 --- a/os-win32.c +++ b/os-win32.c @@ -31,6 +31,7 @@ #include #include "config-host.h" #include "sysemu.h" +#include "qemu-options.h" /***********************************************************/ /* Polling handling */ @@ -204,3 +205,12 @@ char *os_find_datadir(const char *argv0) } return NULL; } + +/* + * Parse OS specific command line options. + * return 0 if option handled, -1 otherwise + */ +void os_parse_cmd_args(int index, const char *optarg) +{ + return; +} -- cgit v1.2.1