/qemu/qapi/ |
H A D | audio.json | 16 # General audio backend options that are used for both playback and 55 # Generic driver-specific options. 57 # @in: options of the capture stream 59 # @out: options of the playback stream 71 # Options of the D-Bus audio backend. 73 # @in: options of the capture stream 75 # @out: options of the playback stream 91 # Options of the ALSA backend that are used for both playback and 113 # Options of the ALSA audio backend. 115 # @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/net/ |
H A D | vmnet-host.c | 23 const NetdevVmnetHostOptions *options = &(netdev->u.vmnet_host); in validate_options() local 26 if (options->net_uuid && in validate_options() 27 qemu_uuid_parse(options->net_uuid, &net_uuid) < 0) { in validate_options() 32 if ((options->start_address || in validate_options() 33 options->end_address || in validate_options() 34 options->subnet_mask) && in validate_options() 35 !(options->start_address && in validate_options() 36 options->end_address && in validate_options() 37 options->subnet_mask)) { in validate_options() 49 const NetdevVmnetHostOptions *options = &(netdev->u.vmnet_host); in build_if_desc() local [all …]
|
H A D | vmnet-shared.c | 22 const NetdevVmnetSharedOptions *options = &(netdev->u.vmnet_shared); in validate_options() local 24 if ((options->start_address || in validate_options() 25 options->end_address || in validate_options() 26 options->subnet_mask) && in validate_options() 27 !(options->start_address && in validate_options() 28 options->end_address && in validate_options() 29 options->subnet_mask)) { in validate_options() 42 const NetdevVmnetSharedOptions *options = &(netdev->u.vmnet_shared); in build_if_desc() local 51 if (options->nat66_prefix) { in build_if_desc() 54 options->nat66_prefix); 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); 97 const NetdevVmnetBridgedOptions *options = &(netdev->u.vmnet_bridged); 107 options->ifname); 111 options->isolated);
|
/qemu/tests/qemu-iotests/ |
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… 29 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 34 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"cluster-size": 65536, "… 51 === Successful image creation (v3 non-default options) === 53 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 58 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"cluster-size": 2097152,… 75 === Successful image creation (v2 non-default options) === 77 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 82 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"backing-file": "TEST_DI… [all …]
|
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… 26 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"cluster-size": 1048576,… 35 === Successful image creation (with non-default options) === 37 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 42 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"cluster-size": 65536, "… 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", "… [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… 27 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"block-size": 8388608, "… 37 === Successful image creation (with non-default options) === 39 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 44 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"block-size": 268435456,… 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"… [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… 37 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"adapter-type": "ide", "… 57 === Successful image creation (with non-default options) === 59 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 64 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"adapter-type": "buslogi… 86 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vmdk", "file"… 96 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"adapter-type": "ide", "… 101 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"adapter-type": "buslogi… [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… 34 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file":… 46 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 54 === Successful image creation (non-default options) === 56 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file":… 67 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 77 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file":… 87 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… [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… 28 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vdi", "file":… 39 === Successful image creation (with non-default options) === 41 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 46 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vdi", "file":… 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":… [all …]
|
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… 77 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… 83 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… [all …]
|
H A D | check | 44 description="Test run options", 57 help="start gdbserver with $GDB_OPTIONS options " 71 g_env = p.add_argument_group('test environment options') 89 ' image format options', 90 'The following options set the IMGFMT environment variable. ' 99 ' image protocol options', 100 'The following options set the IMGPROTO environment variable. ' 107 g_bash = p.add_argument_group('bash tests options', 108 'The following options are ignored by ' 110 # TODO: make support for the following options in iotests.py [all …]
|
H A D | 133.out | 23 === Check that reopening works with non-string options === 28 === Check that mixing -c/-r/-w and their corresponding options is forbidden === 32 qemu-io: Cannot set both -c and the cache options 33 qemu-io: Cannot set both -c and the cache options 34 qemu-io: Cannot set both -c and the cache options 36 === Check that invalid options are handled correctly ===
|
/qemu/roms/ |
H A D | edk2-build.py | 374 options = parser.parse_args() 376 if options.directory: 377 os.chdir(options.directory) 379 if not os.path.exists(options.configfile): 380 print(f'config file "{options.configfile}" not found') 385 cfg.read(options.configfile) 387 if options.list: 393 if options.core: 394 cfg.set('global', 'core', options.core) 395 if options.pkgs: [all …]
|
/qemu/ |
H A D | block.c | 85 QDict *options, int flags, 241 * stripped filename into the options QDict if there is such a prefix. 244 QDict *options) in bdrv_parse_filename_strip_prefix() argument 263 qdict_put(options, "filename", in bdrv_parse_filename_strip_prefix() 268 qdict_put_str(options, "filename", filename); in bdrv_parse_filename_strip_prefix() 639 QDict *options; in bdrv_co_create_opts_simple() local 664 options = qdict_new(); in bdrv_co_create_opts_simple() 665 qdict_put_str(options, "driver", drv->format_name); in bdrv_co_create_opts_simple() 667 blk = blk_co_new_open(filename, NULL, options, in bdrv_co_create_opts_simple() 720 * The format properly removes its options, but the default values remain in bdrv_co_create_file() [all …]
|
/qemu/include/crypto/ |
H A D | block.h | 74 * @options: the encryption options 75 * @optprefix: name prefix for options 83 * the parameters in @options. 110 QCryptoBlock *qcrypto_block_open(QCryptoBlockOpenOptions *options, 123 * @options: the encryption options 124 * @optprefix: name prefix for options 133 * by the parameters in @options. 153 QCryptoBlock *qcrypto_block_create(QCryptoBlockCreateOptions *options, 168 * @options: the new/amended encryption options 172 * Changes the crypto options of the encryption format [all …]
|
/qemu/block/ |
H A D | nfs.c | 79 static int nfs_parse_uri(const char *filename, QDict *options, Error **errp) in nfs_parse_uri() argument 108 qdict_put_str(options, "server.host", uri_server); in nfs_parse_uri() 109 qdict_put_str(options, "server.type", "inet"); in nfs_parse_uri() 110 qdict_put_str(options, "path", uri_path); in nfs_parse_uri() 132 qdict_put_str(options, "user", qp_value); in nfs_parse_uri() 134 qdict_put_str(options, "group", qp_value); in nfs_parse_uri() 136 qdict_put_str(options, "tcp-syn-count", qp_value); in nfs_parse_uri() 138 qdict_put_str(options, "readahead-size", qp_value); in nfs_parse_uri() 140 qdict_put_str(options, "page-cache-size", qp_value); in nfs_parse_uri() 142 qdict_put_str(options, "debug", qp_value); in nfs_parse_uri() [all …]
|
H A D | blkdebug.c | 105 } options; member 212 /* Parse action-specific options */ in add_rule() 215 rule->options.inject.error = qemu_opt_get_number(opts, "errno", EIO); in add_rule() 216 rule->options.inject.once = qemu_opt_get_bool(opts, "once", 0); in add_rule() 217 rule->options.inject.immediately = in add_rule() 220 rule->options.inject.offset = in add_rule() 232 rule->options.inject.iotype_mask = (1ull << iotype); 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() [all …]
|
H A D | rbd.c | 166 static void qemu_rbd_parse_filename(const char *filename, QDict *options, in qemu_rbd_parse_filename() argument 188 qdict_put_str(options, "pool", found_str); in qemu_rbd_parse_filename() 195 qdict_put_str(options, "snapshot", found_str); in qemu_rbd_parse_filename() 203 qdict_put_str(options, "namespace", 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() 229 qdict_put_str(options, "conf", value); in qemu_rbd_parse_filename() 231 qdict_put_str(options, "user", value); in qemu_rbd_parse_filename() 250 qdict_put(options, "=keyvalue-pairs", in qemu_rbd_parse_filename() 565 /* count encryption options */ in qemu_rbd_encryption_load2() [all …]
|
/qemu/crypto/ |
H A D | block.c | 51 QCryptoBlock *qcrypto_block_open(QCryptoBlockOpenOptions *options, in qcrypto_block_open() argument 62 block->format = options->format; in qcrypto_block_open() 64 if (options->format >= G_N_ELEMENTS(qcrypto_block_drivers) || in qcrypto_block_open() 65 !qcrypto_block_drivers[options->format]) { in qcrypto_block_open() 67 QCryptoBlockFormat_str(options->format)); in qcrypto_block_open() 72 block->driver = qcrypto_block_drivers[options->format]; in qcrypto_block_open() 74 if (block->driver->open(block, options, optprefix, in qcrypto_block_open() 85 QCryptoBlock *qcrypto_block_create(QCryptoBlockCreateOptions *options, in qcrypto_block_create() argument 97 block->format = options->format; in qcrypto_block_create() 99 if (options->format >= G_N_ELEMENTS(qcrypto_block_drivers) || in qcrypto_block_create() [all …]
|
/qemu/scripts/ |
H A D | meson-buildoptions.py | 3 # Generate configure command line options handling code, based on Meson's 4 # user build options introspection data 28 # Options with nonstandard names (e.g. --with/--without) or OS-dependent 35 # Options whose name doesn't match the option for backwards compatibility 50 # Options that configure autodetects, even though meson defines them as boolean 56 # Builtin options that should be definable via configure. Some of the others 185 def print_help(options): argument 188 for opt in sorted(options, key=cli_help_key): 190 # The first section includes options that have an arguments, 219 def print_parse(options): argument [all …]
|
/qemu/qom/ |
H A D | object_interfaces.c | 142 void user_creatable_add_qapi(ObjectOptions *options, Error **errp) in user_creatable_add_qapi() argument 150 visit_type_ObjectOptions(v, NULL, &options, &error_abort); in user_creatable_add_qapi() 159 obj = user_creatable_add_type(ObjectType_str(options->qom_type), in user_creatable_add_qapi() 160 options->id, props, v, errp); in user_creatable_add_qapi() 245 qemu_printf("%s options:\n", type); in type_print_class_properties() 247 qemu_printf("There are no options for %s.\n", type); in type_print_class_properties() 286 ObjectOptions *options; in user_creatable_parse_str() local 309 visit_type_ObjectOptions(v, NULL, &options, errp); in user_creatable_parse_str() 313 return options; in user_creatable_parse_str() 319 ObjectOptions *options; in user_creatable_add_from_str() local [all …]
|
/qemu/include/hw/hyperv/ |
H A D | hyperv-proto.h | 65 * Hyper-V Synthetic debug options MSR 151 /* Options flags for hyperv_reset_debug_session */ 155 uint32_t options; member 167 /* Options for hyperv_post_debug_data */ 172 uint32_t options; member 180 /* Options for hyperv_retrieve_debug_data */ 186 uint32_t options; member
|
/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() 322 options->u.passthrough.data = QAPI_CLONE(TPMPassthroughOptions, in tpm_passthrough_get_tpm_options() 323 TPM_PASSTHROUGH(tb)->options); in tpm_passthrough_get_tpm_options() [all …]
|