/qemu/net/ |
H A D | vmnet-host.c | 29 if (options->net_uuid && in validate_options() 35 if (options->has_isolated) { in validate_options() 42 if (options->net_uuid) { in validate_options() 50 if ((options->start_address || in validate_options() 51 options->end_address || in validate_options() 52 options->subnet_mask) && in validate_options() 53 !(options->start_address && in validate_options() 54 options->end_address && in validate_options() 55 options->subnet_mask)) { in validate_options() 82 if (options->net_uuid) { in build_if_desc() [all …]
|
H A D | vmnet-shared.c | 26 if (options->has_isolated) { in validate_options() 34 if ((options->start_address || in validate_options() 35 options->end_address || in validate_options() 36 options->subnet_mask) && in validate_options() 37 !(options->start_address && in validate_options() 38 options->end_address && in validate_options() 39 options->subnet_mask)) { in validate_options() 61 if (options->nat66_prefix) { in build_if_desc() 67 if (options->start_address) { in build_if_desc() 73 options->end_address); in build_if_desc() [all …]
|
H A D | vmnet-bridged.m | 71 const NetdevVmnetBridgedOptions *options = &(netdev->u.vmnet_bridged); 74 if (!validate_ifname(options->ifname)) { 79 options->ifname, 86 options->ifname); 93 if (options->has_isolated) { 106 const NetdevVmnetBridgedOptions *options = &(netdev->u.vmnet_bridged); 116 options->ifname); 122 options->isolated);
|
/qemu/roms/ |
H A D | edk2-build.py | 376 if options.directory: 385 cfg.read(options.configfile) 387 if options.list: 393 if options.core: 395 if options.pkgs: 397 if options.toolchain: 405 if options.release_date: 409 build_basetools(options.silent, options.nologs) 413 if options.match: 421 if options.exclude: [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 212.out | 3 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 10 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "parallels", "… 21 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 35 === Successful image creation (with non-default options) === 37 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 53 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "parallels", "… 61 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "parallels", "… 72 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "parallels", "… 83 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "parallels", "… 95 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "parallels", "… [all …]
|
H A D | 213.out | 3 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 10 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file"… 22 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 37 === Successful image creation (with non-default options) === 39 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 56 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file"… 64 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file"… 76 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file"… 94 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file"… 100 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file"… [all …]
|
H A D | 206.out | 3 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 10 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "qcow2", "file… 51 === Successful image creation (v3 non-default options) === 75 === Successful image creation (v2 non-default options) === 77 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 164 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "qcow2", "file… 170 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "qcow2", "file… 176 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "qcow2", "file… 182 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "qcow2", "file… 188 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "qcow2", "file… [all …]
|
H A D | 237.out | 3 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 10 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vmdk", "file"… 32 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 57 === Successful image creation (with non-default options) === 59 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 86 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vmdk", "file"… 96 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"adapter-type": "ide", "… 118 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"adapter-type": "foo", "… 121 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"adapter-type": "IDE", "… 127 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"adapter-type": 1, "driv… [all …]
|
H A D | 266.out | 2 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 12 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file":… 24 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 46 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 54 === Successful image creation (non-default options) === 67 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 87 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 97 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file":… 109 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 119 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file":… [all …]
|
H A D | 211.out | 3 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 10 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vdi", "file":… 23 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 39 === Successful image creation (with non-default options) === 41 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 59 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vdi", "file":… 67 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vdi", "file":… 79 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vdi", "file":… 91 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vdi", "file":… 97 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vdi", "file":… [all …]
|
H A D | 204 | 48 options=driver=blkdebug,image.driver=qcow2 63 $QEMU_IO -c "open -o $options,$limits blkdebug::$TEST_IMG" \ 69 $QEMU_IO -c "open -o $options,$limits blkdebug::$TEST_IMG" \ 77 $QEMU_IO -c "open -o $options,$limits blkdebug::$TEST_IMG" \ 84 $QEMU_IO -c "open -o $options,$limits blkdebug::$TEST_IMG" \ 90 $QEMU_IO -c "open -o $options,$limits blkdebug::$TEST_IMG" \ 112 $QEMU_IMG map --image-opts "$options,$nested_opts,align=4k" \
|
H A D | 207.out | 3 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… 17 === Test host-key-check options === 21 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… 32 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… 43 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… 49 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… 60 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… 66 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… 83 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… 94 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… [all …]
|
/qemu/block/ |
H A D | nfs.c | 113 qdict_put_str(options, "server.type", "inet"); in nfs_parse_uri() 114 qdict_put_str(options, "path", uri->path); in nfs_parse_uri() 159 for (qe = qdict_first(options); qe; qe = qdict_next(options, qe)) { in nfs_has_filename_options_conflict() 186 nfs_parse_uri(filename, options, errp); in nfs_parse_filename() 585 while ((e = qdict_first(options))) { in nfs_options_qdict_to_qapi() 586 qdict_del(options, e->key); in nfs_options_qdict_to_qapi() 617 ret = nfs_client_open_qdict(client, options, in nfs_file_open() 673 QDict *options; in nfs_file_co_create_opts() local 684 options = qdict_new(); in nfs_file_co_create_opts() 685 ret = nfs_parse_uri(url, options, errp); in nfs_file_co_create_opts() [all …]
|
H A D | blkdebug.c | 105 } options; member 217 rule->options.inject.immediately = in add_rule() 220 rule->options.inject.offset = in add_rule() 235 rule->options.inject.iotype_mask = in add_rule() 246 rule->options.set_state.new_state = in add_rule() 251 rule->options.suspend.tag = in add_rule() 272 g_free(rule->options.suspend.tag); in remove_rule() 611 if (!rule || !rule->options.inject.error) { in rule_check() 617 error = rule->options.inject.error; in rule_check() 619 if (rule->options.inject.once) { in rule_check() [all …]
|
H A D | rbd.c | 188 qdict_put_str(options, "pool", found_str); in qemu_rbd_parse_filename() 205 qdict_put_str(options, "namespace", ""); in qemu_rbd_parse_filename() 208 qdict_put_str(options, "image", image_name); in qemu_rbd_parse_filename() 250 qdict_put(options, "=keyvalue-pairs", in qemu_rbd_parse_filename() 806 QDict *options = NULL; in qemu_rbd_co_create_opts() local 824 options = qdict_new(); in qemu_rbd_co_create_opts() 858 qobject_unref(options); in qemu_rbd_co_create_opts() 1048 qdict_del(options, "filename"); in qemu_rbd_attempt_legacy_options() 1055 qdict_del(options, "=keyvalue-pairs"); in qemu_rbd_attempt_legacy_options() 1116 while ((e = qdict_first(options))) { in qemu_rbd_open() [all …]
|
/qemu/crypto/ |
H A D | block.c | 60 block->format = options->format; in qcrypto_block_open() 63 !qcrypto_block_drivers[options->format]) { in qcrypto_block_open() 65 QCryptoBlockFormat_str(options->format)); in qcrypto_block_open() 70 block->driver = qcrypto_block_drivers[options->format]; in qcrypto_block_open() 72 if (block->driver->open(block, options, optprefix, in qcrypto_block_open() 95 block->format = options->format; in qcrypto_block_create() 98 !qcrypto_block_drivers[options->format]) { in qcrypto_block_create() 100 QCryptoBlockFormat_str(options->format)); in qcrypto_block_create() 105 block->driver = qcrypto_block_drivers[options->format]; in qcrypto_block_create() 163 if (options->format != block->format) { in qcrypto_block_amend_options() [all …]
|
/qemu/backends/tpm/ |
H A D | tpm_passthrough.c | 44 TPMPassthroughOptions *options; member 217 if (tpm_pt->options->cancel_path) { in tpm_passthrough_open_sysfs_cancel() 218 fd = qemu_open_old(tpm_pt->options->cancel_path, O_WRONLY); in tpm_passthrough_open_sysfs_cancel() 248 tpm_pt->options->cancel_path = g_strdup(path); in tpm_passthrough_open_sysfs_cancel() 261 tpm_pt->options->cancel_path = g_strdup(value); in tpm_passthrough_handle_device_opts() 266 tpm_pt->options->path = g_strdup(value); in tpm_passthrough_handle_device_opts() 319 TpmTypeOptions *options = g_new0(TpmTypeOptions, 1); in tpm_passthrough_get_tpm_options() local 321 options->type = TPM_TYPE_PASSTHROUGH; in tpm_passthrough_get_tpm_options() 325 return options; in tpm_passthrough_get_tpm_options() 347 tpm_pt->options = g_new0(TPMPassthroughOptions, 1); in tpm_passthrough_inst_init() [all …]
|
/qemu/qapi/ |
H A D | audio.json | 55 # Generic driver-specific options. 57 # @in: options of the capture stream 59 # @out: options of the playback stream 95 # @in: options of the capture stream 97 # @out: options of the playback stream 114 # @in: options of the capture stream 116 # @out: options of the playback stream 151 # @in: options of the capture stream 167 # @in: options of the capture stream 221 # @in: options of the capture stream [all …]
|
H A D | qmp-registry.c | 19 QmpCommandFunc *fn, QmpCommandOptions options, in qmp_register_command() argument 25 assert(!((options & QCO_COROUTINE) && (options & QCO_ALLOW_OOB))); in qmp_register_command() 30 cmd->options = options; in qmp_register_command() 84 return !(cmd->options & QCO_NO_SUCCESS_RESP); in qmp_has_success_response()
|
/qemu/ |
H A D | block.c | 638 QDict *options; in bdrv_co_create_opts_simple() local 1753 bs->options = options ?: qdict_new(); in bdrv_new_open_driver_opts() 1873 assert(options != NULL && bs->options != options); in bdrv_open_common() 2004 QDict *options; in parse_json_filename() local 2018 if (!options) { in parse_json_filename() 2026 return options; in parse_json_filename() 4036 &flags, options, flags, options); in bdrv_open_inherit() 4040 bs->options = options; in bdrv_open_inherit() 4041 options = qdict_clone_shallow(options); in bdrv_open_inherit() 4421 bs_entry->state.options = options; in bdrv_reopen_queue_child() [all …]
|
/qemu/tests/unit/ |
H A D | test-block-iothread.c | 619 QDict *options; in test_propagate_basic() local 635 options = qdict_new(); in test_propagate_basic() 637 qdict_put_str(options, "test", "bs_a"); in test_propagate_basic() 638 qdict_put_str(options, "raw", "bs_b"); in test_propagate_basic() 683 QDict *options; in test_propagate_diamond() local 689 options = qdict_new(); in test_propagate_diamond() 695 options = qdict_new(); in test_propagate_diamond() 702 options = qdict_new(); in test_propagate_diamond() 705 qdict_put_str(options, "raw", "bs_c"); in test_propagate_diamond() 819 QDict *options; in test_attach_second_node() local [all …]
|
/qemu/docs/sphinx/ |
H A D | kerneldoc.py | 87 tab_width = self.options.get('tab-width', self.state.document.settings.tab_width) 90 if 'export' in self.options: 92 export_file_patterns = str(self.options.get('export')).split() 93 elif 'internal' in self.options: 95 export_file_patterns = str(self.options.get('internal')).split() 96 elif 'doc' in self.options: 97 cmd += ['-function', str(self.options.get('doc'))] 98 elif 'functions' in self.options: 99 functions = self.options.get('functions').split()
|
/qemu/qom/ |
H A D | object_interfaces.c | 140 void user_creatable_add_qapi(ObjectOptions *options, Error **errp) in user_creatable_add_qapi() argument 148 visit_type_ObjectOptions(v, NULL, &options, &error_abort); in user_creatable_add_qapi() 158 options->id, props, v, errp); in user_creatable_add_qapi() 268 ObjectOptions *options; in user_creatable_parse_str() local 291 visit_type_ObjectOptions(v, NULL, &options, errp); in user_creatable_parse_str() 295 return options; in user_creatable_parse_str() 301 ObjectOptions *options; in user_creatable_add_from_str() local 303 options = user_creatable_parse_str(str, errp); in user_creatable_add_from_str() 304 if (!options) { in user_creatable_add_from_str() 308 user_creatable_add_qapi(options, errp); in user_creatable_add_from_str() [all …]
|
/qemu/storage-daemon/ |
H A D | qemu-storage-daemon.c | 271 BlockdevOptions *options; in process_options() local 276 visit_type_BlockdevOptions(v, NULL, &options, &error_fatal); in process_options() 279 qmp_blockdev_add(options, &error_fatal); in process_options() 280 qapi_free_BlockdevOptions(options); in process_options() 340 NbdServerOptions *options; in process_options() local 343 visit_type_NbdServerOptions(v, NULL, &options, &error_fatal); in process_options() 346 nbd_server_start_options(options, &error_fatal); in process_options() 347 qapi_free_NbdServerOptions(options); in process_options()
|
/qemu/scripts/ |
H A D | meson-buildoptions.py | 185 def print_help(options): argument 188 for opt in sorted(options, key=cli_help_key): 219 def print_parse(options): argument 222 for opt in options: 245 options = load_options(json.load(sys.stdin)) variable 247 print_help(options) 248 print_parse(options)
|