Lines Matching defs:optarg

1188 static void numa_add(const char *optarg)
1195 optarg = get_opt_name(option, 128, optarg, ',') + 1;
1197 if (get_param_value(option, 128, "nodeid", optarg) == 0) {
1203 if (get_param_value(option, 128, "mem", optarg) == 0) {
1217 if (get_param_value(option, 128, "cpus", optarg) == 0) {
2079 const char *r, *optarg;
2184 optarg = argv[optind++];
2186 optarg = NULL;
2191 machine = find_machine(optarg);
2200 exit(*optarg != '?');
2205 if (*optarg == '?') {
2212 cpu_model = optarg;
2216 initrd_filename = optarg;
2220 hda_index = drive_add(optarg, HD_ALIAS, 0);
2222 hda_index = drive_add(optarg, HD_ALIAS
2233 drive_add(optarg, HD_ALIAS, popt->index - QEMU_OPTION_hda);
2236 drive_add(NULL, "%s", optarg);
2239 drive_add(optarg, MTD_ALIAS);
2242 drive_add(optarg, SD_ALIAS);
2245 drive_add(optarg, PFLASH_ALIAS);
2253 p = optarg;
2300 numa_add(optarg);
2314 kernel_filename = optarg;
2317 kernel_cmdline = optarg;
2320 drive_add(optarg, CDROM_ALIAS);
2323 boot_devices = optarg;
2355 drive_add(optarg, FD_ALIAS, popt->index - QEMU_OPTION_fda);
2367 net_clients[nb_net_clients] = optarg;
2372 tftp_prefix = optarg;
2375 bootp_filename = optarg;
2378 net_slirp_redir(NULL, optarg, NULL);
2386 bt_opts[nb_bt_opts++] = optarg;
2394 select_soundhw (optarg);
2408 value = strtoul(optarg, &ptr, 10);
2417 fprintf(stderr, "qemu: invalid ram size: %s\n", optarg);
2438 mask = cpu_str_to_log_mask(optarg);
2453 gdbstub_dev = optarg;
2456 data_dir = optarg;
2459 bios_name = optarg;
2469 keyboard_layout = optarg;
2476 select_vgahw (optarg);
2483 p = optarg;
2517 term_escape_char = strtol(optarg, &r, 0);
2518 if (r == optarg)
2523 monitor_device = optarg;
2530 serial_devices[serial_device_index] = optarg;
2534 i = select_watchdog(optarg);
2539 if (select_watchdog_action(optarg) == -1) {
2549 virtio_consoles[virtio_console_index] = optarg;
2557 parallel_devices[parallel_device_index] = optarg;
2561 loadvm = optarg;
2581 pid_file = optarg;
2591 if(acpi_table_add(optarg) < 0) {
2597 if(smbios_entry_add(optarg) < 0) {
2628 usb_devices[usb_devices_index] = optarg;
2632 smp_cpus = atoi(optarg);
2640 vnc_display = optarg;
2663 if(qemu_uuid_parse(optarg, qemu_uuid) < 0) {
2674 option_rom[nb_option_roms] = optarg;
2683 qemu_name = optarg;
2691 prom_envs[nb_prom_envs] = optarg;
2701 configure_alarms(optarg);
2707 if (!strcmp(optarg, "now")) {
2710 if (sscanf(optarg, "%d-%d-%dT%d:%d:%d",
2718 } else if (sscanf(optarg, "%d-%d-%d",
2742 tb_size = strtol(optarg, NULL, 0);
2747 icount_option = optarg;
2750 incoming = optarg;
2754 xen_domid = atoi(optarg);