Lines Matching +full:build +full:- +full:deprecated
4 * Copyright (c) 2003-2008 Fabrice Bellard
26 #include "qemu/help-texts.h"
30 #include "qemu/target-info.h"
31 #include "exec/cpu-common.h"
32 #include "exec/page-vary.h"
33 #include "hw/qdev-properties.h"
34 #include "qapi/compat-policy.h"
39 #include "qemu-version.h"
42 #include "qemu/hw-version.h"
44 #include "qemu/target-info.h"
47 #include "system/runstate-action.h"
52 #include "qemu/error-report.h"
55 #include "qemu/async-teardown.h"
92 #include "system/cpu-timers.h"
95 #include "migration/postcopy-ram.h"
97 #include "qapi/qobject-input-visitor.h"
99 #include "qemu/config-file.h"
100 #include "qemu/main-loop.h"
102 #include "fsdev/qemu-fsdev.h"
116 #include "system/confidential-guest-support.h"
118 #include "ui/qemu-spice.h"
119 #include "qapi/string-input-visitor.h"
120 #include "qapi/opts-visitor.h"
121 #include "qapi/clone-visitor.h"
126 #include "qapi/qapi-events-run-state.h"
127 #include "qapi/qapi-types-audio.h"
128 #include "qapi/qapi-visit-audio.h"
129 #include "qapi/qapi-visit-block-core.h"
130 #include "qapi/qapi-visit-compat.h"
131 #include "qapi/qapi-visit-machine.h"
132 #include "qapi/qapi-visit-migration.h"
133 #include "qapi/qapi-visit-ui.h"
134 #include "qapi/qapi-commands-block-core.h"
135 #include "qapi/qapi-commands-migration.h"
136 #include "qapi/qapi-commands-misc.h"
137 #include "qapi/qapi-visit-qom.h"
138 #include "qapi/qapi-commands-ui.h"
142 #include "qemu/guest-random.h"
210 { .driver = "xen-console", .flag = &default_serial },
211 { .driver = "isa-serial", .flag = &default_serial },
212 { .driver = "isa-parallel", .flag = &default_parallel },
213 { .driver = "isa-fdc", .flag = &default_floppy },
215 { .driver = "ide-cd", .flag = &default_cdrom },
216 { .driver = "ide-hd", .flag = &default_cdrom },
217 { .driver = "scsi-cd", .flag = &default_cdrom },
218 { .driver = "scsi-hd", .flag = &default_cdrom },
220 { .driver = "isa-vga", .flag = &default_vga },
221 { .driver = "cirrus-vga", .flag = &default_vga },
222 { .driver = "isa-cirrus-vga", .flag = &default_vga },
223 { .driver = "vmware-svga", .flag = &default_vga },
224 { .driver = "qxl-vga", .flag = &default_vga },
225 { .driver = "virtio-vga", .flag = &default_vga },
226 { .driver = "ati-vga", .flag = &default_vga },
227 { .driver = "vhost-user-vga", .flag = &default_vga },
228 { .driver = "virtio-vga-gl", .flag = &default_vga },
229 { .driver = "virtio-vga-rutabaga", .flag = &default_vga },
252 .name = "option-rom",
282 .name = "boot-opts",
300 .name = "splash-time",
303 .name = "reboot-timeout",
314 .name = "add-fd",
328 .help = "free-form string used to describe fd",
336 .implied_opt_name = "qom-type",
358 .name = "mem-lock",
362 .name = "cpu-pm",
378 .name = "guest-name",
381 "-name guest is set otherwise option is ignored\n",
404 .name = "debug-threads",
548 const char *driver = qdict_get_try_str(opt->opts, "driver"); in default_driver_check_json()
557 if (qemu_opt_get(opts, "debug-threads")) { in parse_name()
558 qemu_thread_naming(qemu_opt_get_bool(opts, "debug-threads", false)); in parse_name()
583 fd = qemu_opt_get_number(opts, "fd", -1); in parse_add_fd()
584 fdset_id = qemu_opt_get_number(opts, "set", -1); in parse_add_fd()
588 error_setg(errp, "fd option is required and must be non-negative"); in parse_add_fd()
589 return -1; in parse_add_fd()
594 return -1; in parse_add_fd()
602 if (flags == -1 || (flags & FD_CLOEXEC)) { in parse_add_fd()
604 return -1; in parse_add_fd()
608 error_setg(errp, "set option is required and must be non-negative"); in parse_add_fd()
609 return -1; in parse_add_fd()
616 if (dupfd != -1) { in parse_add_fd()
620 if (dupfd == -1) { in parse_add_fd()
622 return -1; in parse_add_fd()
637 fd = qemu_opt_get_number(opts, "fd", -1); in cleanup_add_fd()
685 dinfo->is_default = true; in default_drive()
694 * units-per-bus property of its default HBA interface type, do so in configure_blockdev()
697 if (machine_class->units_per_default_bus) { in configure_blockdev()
698 override_max_devs(machine_class->block_default_type, in configure_blockdev()
699 machine_class->units_per_default_bus); in configure_blockdev()
707 loc_push_restore(&bdo->loc); in configure_blockdev()
708 qmp_blockdev_add(bdo->bdo, &error_fatal); in configure_blockdev()
709 loc_pop(&bdo->loc); in configure_blockdev()
710 qapi_free_BlockdevOptions(bdo->bdo); in configure_blockdev()
718 &machine_class->block_default_type, &error_fatal)) { in configure_blockdev()
723 default_drive(default_cdrom, snapshot, machine_class->block_default_type, 2, in configure_blockdev()
731 .name = "smp-opts",
773 .name = "run-with",
778 .name = "async-teardown",
816 error_with_guestname = qemu_opt_get_bool(opts, "guest-name", false); in configure_msg()
841 for (el = machines; el; el = el->next) { in find_machine()
842 MachineClass *mc = el->data; in find_machine()
844 if (!strcmp(mc->name, name) || !g_strcmp0(mc->alias, name)) { in find_machine()
857 for (el = machines; el; el = el->next) { in find_default_machine()
858 MachineClass *mc = el->data; in find_default_machine()
860 if (mc->is_default) { in find_default_machine()
892 #include "qemu-options.def" in help()
895 "ctrl-alt-f toggle full screen\n" in help()
896 "ctrl-alt-n switch to virtual console 'n'\n" in help()
897 "ctrl-alt-g toggle mouse and keyboard grab\n" in help()
899 "When using -nographic, press 'ctrl-a h' to get some help.\n" in help()
913 #include "qemu-options.def"
933 #include "qemu-options.def"
939 const char *name; /* human-readable name */
953 .class_names = { "VGA", "isa-vga" },
958 .class_names = { "cirrus-vga", "isa-cirrus-vga" },
963 .class_names = { "vmware-svga" },
968 .class_names = { "virtio-vga" },
973 .class_names = { "qxl-vga" },
978 .class_names = { "sun-tcx" },
999 if (!ti->class_names[0] || module_object_class_by_name(ti->class_names[0])) { in vga_interface_available()
1003 if (ti->class_names[1] && module_object_class_by_name(ti->class_names[1])) { in vga_interface_available()
1013 if (machine_class->default_display) { in get_default_vga_model()
1017 if (ti->opt_name && vga_interface_available(t) && in get_default_vga_model()
1018 g_str_equal(ti->opt_name, machine_class->default_display)) { in get_default_vga_model()
1019 return machine_class->default_display; in get_default_vga_model()
1024 machine_class->default_display); in get_default_vga_model()
1046 if (vga_interface_available(t) && ti->opt_name) { in select_vgahw()
1047 printf("%-20s %s%s\n", ti->opt_name, ti->name ?: "", in select_vgahw()
1048 (def && g_str_equal(ti->opt_name, def)) ? in select_vgahw()
1058 if (ti->opt_name && strstart(p, ti->opt_name, &opts)) { in select_vgahw()
1060 error_report("%s not available", ti->name); in select_vgahw()
1149 return -1; in parse_fw_cfg()
1161 return -1; in parse_fw_cfg()
1163 if (strlen(name) > FW_CFG_MAX_FILE_PATH - 1) { in parse_fw_cfg()
1165 FW_CFG_MAX_FILE_PATH - 1); in parse_fw_cfg()
1166 return -1; in parse_fw_cfg()
1184 return -1; in parse_fw_cfg()
1190 error_setg(errp, "can't load %s: %s", file, err->message); in parse_fw_cfg()
1192 return -1; in parse_fw_cfg()
1211 return -1; in device_init_func()
1225 return -1; in chardev_init_func()
1276 DEV_USB, /* -usbdevice */
1277 DEV_SERIAL, /* -serial */
1278 DEV_PARALLEL, /* -parallel */
1279 DEV_DEBUGCON, /* -debugcon */
1280 DEV_GDB, /* -gdb, -s */
1296 conf->type = type; in add_device_config()
1297 conf->cmdline = cmdline; in add_device_config()
1298 loc_save(&conf->loc); in add_device_config()
1303 * foreach_device_config_or_exit(): process per-device configs
1317 if (conf->type != type) in foreach_device_config_or_exit()
1319 loc_push_restore(&conf->loc); in foreach_device_config_or_exit()
1320 func(conf->cmdline, &error_fatal); in foreach_device_config_or_exit()
1321 loc_pop(&conf->loc); in foreach_device_config_or_exit()
1339 if (!has_defaults || machine_class->no_serial) { in qemu_disable_default_devices()
1342 if (!has_defaults || machine_class->no_parallel) { in qemu_disable_default_devices()
1345 if (!has_defaults || machine_class->no_floppy) { in qemu_disable_default_devices()
1348 if (!has_defaults || machine_class->no_cdrom) { in qemu_disable_default_devices()
1351 if (!has_defaults || !machine_class->auto_create_sdcard) { in qemu_disable_default_devices()
1360 if (default_net && machine_class->default_nic && in qemu_disable_default_devices()
1361 !module_object_class_by_name(machine_class->default_nic)) { in qemu_disable_default_devices()
1363 machine_class->default_nic); in qemu_disable_default_devices()
1393 /* According to documentation and historically, -nographic redirects in qemu_create_default_devices()
1395 * with -daemonize. We can redirect these to null instead, but since in qemu_create_default_devices()
1396 * -nographic is legacy, let's just error out. in qemu_create_default_devices()
1397 * We disallow -nographic only if all other ports are not redirected in qemu_create_default_devices()
1399 * -nographic _and_ redirects all ports explicitly - this is valid in qemu_create_default_devices()
1400 * usage, -nographic is just a no-op in this case. in qemu_create_default_devices()
1404 error_report("-nographic cannot be used with -daemonize"); in qemu_create_default_devices()
1520 qemu_opt_set(opts, "driver", "isa-debugcon", &error_abort); in debugcon_parse()
1530 if (mc1->family == NULL) { in machine_class_cmp()
1531 if (mc2->family == NULL) { in machine_class_cmp()
1543 if (mc2->family == NULL) { in machine_class_cmp()
1545 return -1; in machine_class_cmp()
1549 res = strcmp(mc1->family, mc2->family); in machine_class_cmp()
1576 for (el = machines; el; el = el->next) { in machine_help_func()
1577 MachineClass *mc = el->data; in machine_help_func()
1578 if (mc->alias) { in machine_help_func()
1579 printf("%-20s %s (alias of %s)\n", mc->alias, mc->desc, mc->name); in machine_help_func()
1581 printf("%-20s %s%s%s\n", mc->name, mc->desc, in machine_help_func()
1582 mc->is_default ? " (default)" : "", in machine_help_func()
1583 mc->deprecation_reason ? " (deprecated)" : ""); in machine_help_func()
1607 prop = keyval_parse(arg, opts_list->implied_opt_name, &help, &error_fatal); in machine_parse_property_opt()
1628 unlink(upn->pid_file_realpath); in qemu_unlink_pidfile()
1641 /* Treat --foo the same as -foo. */ in lookup_opt()
1642 if (r[1] == '-') in lookup_opt()
1646 if (!popt->name) { in lookup_opt()
1650 if (!strcmp(popt->name, r + 1)) in lookup_opt()
1654 if (popt->flags & HAS_ARG) { in lookup_opt()
1660 loc_set_cmdline(argv, optind - 2, 2); in lookup_opt()
1693 "Use -machine help to list supported machines\n"); in select_machine()
1707 return -1; in object_parse_property_opt()
1723 if (!strchr(ent->key, '_')) { in keyval_dashify()
1726 new_key = g_strdup(ent->key); in keyval_dashify()
1729 *p = '-'; in keyval_dashify()
1733 error_setg(errp, "Conflict between '%s' and '%s'", ent->key, new_key); in keyval_dashify()
1736 qobject_ref(ent->value); in keyval_dashify()
1737 qdict_put_obj(qdict, new_key, ent->value); in keyval_dashify()
1738 qdict_del(qdict, ent->key); in keyval_dashify()
1756 value = qdict_get_try_str(qdict, "igd-passthru"); in qemu_apply_legacy_machine_options()
1758 object_register_sugar_prop(ACCEL_CLASS_NAME("xen"), "igd-passthru", value, in qemu_apply_legacy_machine_options()
1760 qdict_del(qdict, "igd-passthru"); in qemu_apply_legacy_machine_options()
1763 value = qdict_get_try_str(qdict, "kvm-shadow-mem"); in qemu_apply_legacy_machine_options()
1765 object_register_sugar_prop(ACCEL_CLASS_NAME("kvm"), "kvm-shadow-mem", value, in qemu_apply_legacy_machine_options()
1767 qdict_del(qdict, "kvm-shadow-mem"); in qemu_apply_legacy_machine_options()
1770 value = qdict_get_try_str(qdict, "kernel-irqchip"); in qemu_apply_legacy_machine_options()
1772 object_register_sugar_prop(ACCEL_CLASS_NAME("kvm"), "kernel-irqchip", value, in qemu_apply_legacy_machine_options()
1774 object_register_sugar_prop(ACCEL_CLASS_NAME("whpx"), "kernel-irqchip", value, in qemu_apply_legacy_machine_options()
1776 qdict_del(qdict, "kernel-irqchip"); in qemu_apply_legacy_machine_options()
1779 value = qdict_get_try_str(qdict, "memory-backend"); in qemu_apply_legacy_machine_options()
1782 error_report("'-mem-path' can't be used together with" in qemu_apply_legacy_machine_options()
1783 "'-machine memory-backend'"); in qemu_apply_legacy_machine_options()
1789 qdict_del(qdict, "memory-backend"); in qemu_apply_legacy_machine_options()
1805 const char *type = ObjectType_str(opt->opts->qom_type); in object_option_foreach_add()
1807 user_creatable_add_qapi(opt->opts, &error_fatal); in object_option_foreach_add()
1808 qapi_free_ObjectOptions(opt->opts); in object_option_foreach_add()
1818 visit_type_ObjectOptions(v, NULL, &opt->opts, &error_fatal); in object_option_add_visitor()
1833 v = qobject_input_visitor_new_str(str, "channel-type", &error_fatal); in incoming_option_parse()
1836 type = channel->channel_type; in incoming_option_parse()
1864 type = qemu_opt_get(opts, "qom-type"); in object_option_parse()
1866 error_report(QERR_MISSING_PARAMETER, "qom-type"); in object_option_parse()
1891 enable_cpu_pm = qemu_opt_get_bool(opts, "cpu-pm", enable_cpu_pm); in overcommit_parse()
1893 mem_lock_opt = qemu_opt_get(opts, "mem-lock"); in overcommit_parse()
1908 if (strcmp(mem_lock_opt, "on-fault") == 0) { in overcommit_parse()
1913 error_report("parameter 'mem-lock' expects one of " in overcommit_parse()
1914 "'on', 'off', 'on-fault'"); in overcommit_parse()
1929 * Reason: -sandbox on,resourcecontrol=deny disallows setting CPU in object_create_pre_sandbox()
1932 if (g_str_equal(type, "thread-context")) { in object_create_pre_sandbox()
1942 * can be created at this point. The rng-egd object
1959 if (g_str_equal(type, "rng-egd") || in object_create_early()
1965 /* Reason: cryptodev-vhost-user property "chardev" */ in object_create_early()
1966 if (g_str_equal(type, "cryptodev-vhost-user")) { in object_create_early()
1971 /* Reason: vhost-user-blk-server property "node-name" */ in object_create_early()
1972 if (g_str_equal(type, "vhost-user-blk-server")) { in object_create_early()
1976 * Reason: filter-* property "netdev" etc. in object_create_early()
1978 if (g_str_equal(type, "filter-buffer") || in object_create_early()
1979 g_str_equal(type, "filter-dump") || in object_create_early()
1980 g_str_equal(type, "filter-mirror") || in object_create_early()
1981 g_str_equal(type, "filter-redirector") || in object_create_early()
1982 g_str_equal(type, "colo-compare") || in object_create_early()
1983 g_str_equal(type, "filter-rewriter") || in object_create_early()
1984 g_str_equal(type, "filter-replay")) { in object_create_early()
1993 if (g_str_has_prefix(type, "memory-backend-")) { in object_create_early()
2005 /* fall back to the -kernel/-append */ in qemu_apply_machine_options()
2006 semihosting_arg_fallback(current_machine->kernel_filename, current_machine->kernel_cmdline); in qemu_apply_machine_options()
2009 if (current_machine->smp.cpus > 1) { in qemu_apply_machine_options()
2029 error_report("window-close is only valid for GTK and SDL, " in qemu_create_early_backends()
2040 error_report("OpenGL support was not enabled in this build of QEMU"); in qemu_create_early_backends()
2128 current_machine->ram_size = backend_size; in qemu_resolve_machine_memdev()
2131 "memory-backend", backend, &error_fatal); in qemu_resolve_machine_memdev()
2148 /* Fix up legacy suffix-less format */ in parse_memory_options()
2150 if (g_ascii_isdigit(mem_str[strlen(mem_str) - 1])) { in parse_memory_options()
2159 qdict_put_str(prop, "max-size", qemu_opt_get(opts, "maxmem")); in parse_memory_options()
2177 "peripheral-anon", in qemu_create_machine_containers()
2188 object_set_machine_compat_props(machine_class->compat_props); in qemu_create_machine()
2197 if (machine_class->minimum_page_bits) { in qemu_create_machine()
2198 if (!set_preferred_target_page_bits(machine_class->minimum_page_bits)) { in qemu_create_machine()
2200 * a target's compile-time fixed setting. in qemu_create_machine()
2208 if (machine_class->hw_version) { in qemu_create_machine()
2209 qemu_set_hw_version(machine_class->hw_version); in qemu_create_machine()
2216 if (machine_class->default_machine_opts) { in qemu_create_machine()
2218 keyval_parse(machine_class->default_machine_opts, NULL, NULL, in qemu_create_machine()
2232 g->driver = qemu_opt_get(opts, "driver"); in global_init_func()
2233 g->property = qemu_opt_get(opts, "property"); in global_init_func()
2234 g->value = qemu_opt_get(opts, "value"); in global_init_func()
2248 g_str_equal(group, "smp-opts") || in is_qemuopts_group()
2249 g_str_equal(group, "boot-opts")) { in is_qemuopts_group()
2273 * Cannot merge string-valued and type-safe dictionaries, so JSON in qemu_record_config_group()
2274 * is not accepted yet for -M. in qemu_record_config_group()
2278 } else if (g_str_equal(group, "smp-opts")) { in qemu_record_config_group()
2280 } else if (g_str_equal(group, "boot-opts")) { in qemu_record_config_group()
2288 * Parse non-QemuOpts config file groups, pass the rest to
2325 if (ret == -ENOENT) { in qemu_read_default_config_file()
2346 error_setg(errp, "-set is not supported with %s", group); in qemu_set_option()
2408 if (!qtest_with_kvm || ret != -ENOENT) { in do_configure_accelerator()
2409 error_report("failed to initialize %s: %s", acc, strerror(-ret)); in do_configure_accelerator()
2461 * such as "-machine accel=tcg,,thread=single". in configure_accelerators()
2473 error_report("The -accel and \"-machine accel=\" options are incompatible"); in configure_accelerators()
2491 error_report("-icount is not allowed with hardware virtualization"); in configure_accelerators()
2505 error_report("-append only allowed with -kernel option"); in qemu_validate_options()
2510 error_report("-shim only allowed with -kernel option"); in qemu_validate_options()
2515 error_report("-initrd only allowed with -kernel option"); in qemu_validate_options()
2530 error_report("'preconfig' supports '-incoming defer' only"); in qemu_validate_options()
2536 error_report("curses display cannot be used with -daemonize"); in qemu_validate_options()
2550 object_register_sugar_prop("memory-backend", "prealloc-threads", in qemu_process_sugar_options()
2554 object_register_sugar_prop("memory-backend", "prealloc", "on", false); in qemu_process_sugar_options()
2558 /* -action processing */
2561 * Process all the -action parameters parsed from cmdline.
2598 qemu_opts_foreach(qemu_find_opts("add-fd"), in qemu_process_early_options()
2601 qemu_opts_foreach(qemu_find_opts("add-fd"), in qemu_process_early_options()
2624 * Check for -cpu help and -device help before we call select_machine(), in qemu_process_help_options()
2627 * to say '-cpu help -machine something'. in qemu_process_help_options()
2639 /* -L help lists the data directories and exits. */ in qemu_process_help_options()
2706 /* process plugin before CPUs are created, but once -smp has been parsed */ in qemu_init_board()
2712 if (machine_class->auto_create_sdcard) { in qemu_init_board()
2718 fprintf(stderr, "Can not create sd-card on '%s' machine" in qemu_init_board()
2719 " because it lacks a sd-bus\n", in qemu_init_board()
2720 machine_class->name); in qemu_init_board()
2750 loc_push_restore(&opt->loc); in qemu_create_cli_devices()
2751 qmp_device_add(opt->opts, &ret_data, &error_fatal); in qemu_create_cli_devices()
2753 loc_pop(&opt->loc); in qemu_create_cli_devices()
2765 * no command line -net or -netdev options are specified. There in qemu_machine_creation_done()
2767 * (1) board doesn't support a NIC but the implicit "-net nic" in qemu_machine_creation_done()
2769 * (2) CONFIG_SLIRP not set, in which case the implicit "-net nic" in qemu_machine_creation_done()
2780 if (machine->cgs && !machine->cgs->ready) { in qemu_machine_creation_done()
2782 object_get_typename(OBJECT(machine->cgs))); in qemu_machine_creation_done()
2790 warn_report("A -vga option was passed but this machine " in qemu_machine_creation_done()
2825 channels->value = incoming_channels[MIGRATION_CHANNEL_TYPE_MAIN]; in qmp_x_exit_preconfig()
2828 error_reportf_err(local_err, "-incoming %s: ", incoming); in qmp_x_exit_preconfig()
2897 if (argv[optind][0] != '-') { in qemu_init()
2904 switch (popt->index) { in qemu_init()
2922 if (argv[optind][0] != '-') { in qemu_init()
2929 if (!qemu_arch_available(popt->arch_mask)) { in qemu_init()
2933 switch(popt->index) { in qemu_init()
2942 drive_add(IF_DEFAULT, popt->index - QEMU_OPTION_hda, optarg, in qemu_init()
2954 visit_type_BlockdevOptions(v, NULL, &bdo->bdo, in qemu_init()
2957 loc_save(&bdo->loc); in qemu_init()
2976 drive_add(IF_MTD, -1, optarg, MTD_OPTS); in qemu_init()
2979 drive_add(IF_SD, -1, optarg, SD_OPTS); in qemu_init()
2982 drive_add(IF_PFLASH, -1, optarg, PFLASH_OPTS); in qemu_init()
2986 replay_add_blocker("-snapshot"); in qemu_init()
3022 machine_parse_property_opt(qemu_find_opts("boot-opts"), "boot", optarg); in qemu_init()
3026 drive_add(IF_FLOPPY, popt->index - QEMU_OPTION_fda, in qemu_init()
3030 qdict_put_str(machine_opts_dict, "fd-bootchk", "off"); in qemu_init()
3090 select_soundhw(model, dev->id); in qemu_init()
3270 error_report("Usage: -virtfs fsdriver,mount_tag=tag"); in qemu_init()
3322 qemu_opt_set(device, "driver", "virtio-9p-pci", &error_abort); in qemu_init()
3368 object_register_sugar_prop("ide-device", "win2k-install-hack", "true", true); in qemu_init()
3419 for (el = accel_list; el; el = el->next) { in qemu_init()
3421 OBJECT_CLASS(el->data))); in qemu_init()
3447 opt->opts = qobject_to(QDict, obj); in qemu_init()
3448 loc_save(&opt->loc); in qemu_init()
3449 assert(opt->opts != NULL); in qemu_init()
3459 machine_parse_property_opt(qemu_find_opts("smp-opts"), in qemu_init()
3488 opts = qemu_opts_parse_noisily(qemu_find_opts("option-rom"), in qemu_init()
3495 qemu_opt_get_number(opts, "bootindex", -1); in qemu_init()
3516 /* Capture guest name if -msg guest-name is used later */ in qemu_init()
3528 warn_report("-old-param is deprecated"); in qemu_init()
3606 error_report("-sandbox support is not enabled " in qemu_init()
3619 opts = qemu_opts_parse_noisily(qemu_find_opts("add-fd"), in qemu_init()
3661 error_report("only one '-dump-vmstate' " in qemu_init()
3683 opts = qemu_opts_parse_noisily(qemu_find_opts("run-with"), in qemu_init()
3689 if (qemu_opt_get_bool(opts, "async-teardown", false)) { in qemu_init()
3712 error_report("Option not supported in this build"); in qemu_init()
3780 * Note: uses machine properties such as kernel-irqchip, must run in qemu_init()
3803 if (!qtest_enabled() && machine_class->deprecation_reason) { in qemu_init()
3804 warn_report("Machine type '%s' is deprecated: %s", in qemu_init()
3805 machine_class->name, machine_class->deprecation_reason); in qemu_init()
3811 * over memory-backend-file objects). in qemu_init()
3823 current_machine->cpu_type = machine_class_default_cpu_type(machine_class); in qemu_init()
3825 current_machine->cpu_type = parse_cpu_option(cpu_option); in qemu_init()