diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2010-06-10 11:42:25 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-06-12 08:49:15 +0300 |
commit | e92cee52870313d5f8290388484fde674a8b3493 (patch) | |
tree | 79bfcd1fe59e9d6d945a267b866d903ac0e36da5 /sysemu.h | |
parent | fe33dfe4c470ed835d2a207a8fab06de208da5fa (diff) | |
download | qemu-e92cee52870313d5f8290388484fde674a8b3493.tar.gz qemu-e92cee52870313d5f8290388484fde674a8b3493.tar.bz2 qemu-e92cee52870313d5f8290388484fde674a8b3493.zip |
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 <Jes.Sorensen@redhat.com>
Acked-by: Juan Quintela <quintela@redhat.com>
Acked-by: Richard Henderson <rth@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'sysemu.h')
-rw-r--r-- | sysemu.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -82,6 +82,7 @@ void do_info_slirp(Monitor *mon); /* OS specific functions */ void os_setup_early_signal_handling(void); char *os_find_datadir(const char *argv0); +void os_parse_cmd_args(int index, const char *optarg); typedef enum DisplayType { |