Revision 59a5264b vl.c

b/vl.c
148 148
#include "qemu-option.h"
149 149
#include "qemu-config.h"
150 150
#include "qemu-objects.h"
151
#include "qemu-options.h"
151 152
#ifdef CONFIG_LINUX
152 153
#include "fsdev/qemu-fsdev.h"
153 154
#endif
......
1899 1900

  
1900 1901
#define HAS_ARG 0x0001
1901 1902

  
1902
enum {
1903
#define DEF(option, opt_arg, opt_enum, opt_help, arch_mask)     \
1904
    opt_enum,
1905
#define DEFHEADING(text)
1906
#include "qemu-options.def"
1907
#undef DEF
1908
#undef DEFHEADING
1909
#undef GEN_DOCS
1910
};
1911

  
1912 1903
typedef struct QEMUOption {
1913 1904
    const char *name;
1914 1905
    int flags;
......
2624 2615
            case QEMU_OPTION_bootp:
2625 2616
                legacy_bootp_filename = optarg;
2626 2617
                break;
2627
#ifndef _WIN32
2628
            case QEMU_OPTION_smb:
2629
                if (net_slirp_smb(optarg) < 0)
2630
                    exit(1);
2631
                break;
2632
#endif
2633 2618
            case QEMU_OPTION_redir:
2634 2619
                if (net_slirp_redir(optarg) < 0)
2635 2620
                    exit(1);
......
3126 3111
                    fclose(fp);
3127 3112
                    break;
3128 3113
                }
3114
            default:
3115
                os_parse_cmd_args(popt->index, optarg);
3129 3116
            }
3130 3117
        }
3131 3118
    }

Also available in: Unified diff