/openbmc/qemu/tests/unit/ |
H A D | test-qemu-opts.c | 180 opt = qemu_opt_get(opts, "str2"); in test_qemu_opt_get() 186 opt = qemu_opt_get(opts, "str2"); in test_qemu_opt_get() 192 opt = qemu_opt_get(opts, "str2"); in test_qemu_opt_get() 356 value = qemu_opt_get(opts, "key"); in test_qemu_opt_unset() 362 value = qemu_opt_get(opts, "key"); in test_qemu_opt_unset() 370 value = qemu_opt_get(opts, "key"); in test_qemu_opt_unset() 440 g_assert_cmpstr(qemu_opt_get(opts, ""), ==, "val"); in test_opts_parse() 446 g_assert_cmpstr(qemu_opt_get(opts, "a"), ==, "3"); in test_opts_parse() 447 g_assert_cmpstr(qemu_opt_get(opts, "b"), ==, "2,x"); in test_opts_parse() 460 g_assert_cmpstr(qemu_opt_get(opts, "x"), ==, "y"); in test_opts_parse() [all …]
|
/openbmc/qemu/ui/ |
H A D | spice-core.c | 539 addr = qemu_opt_get(opts, "addr"); in qmp_query_spice_real() 685 passwordSecret = qemu_opt_get(opts, "password-secret"); in qemu_spice_init() 692 x509_dir = qemu_opt_get(opts, "x509-dir"); in qemu_spice_init() 697 str = qemu_opt_get(opts, "x509-key-file"); in qemu_spice_init() 705 str = qemu_opt_get(opts, "x509-cert-file"); in qemu_spice_init() 713 str = qemu_opt_get(opts, "x509-cacert-file"); in qemu_spice_init() 721 x509_key_password = qemu_opt_get(opts, "x509-key-password"); in qemu_spice_init() 722 x509_dh_file = qemu_opt_get(opts, "x509-dh-key-file"); in qemu_spice_init() 723 tls_ciphers = qemu_opt_get(opts, "tls-ciphers"); in qemu_spice_init() 726 addr = qemu_opt_get(opts, "addr"); in qemu_spice_init() [all …]
|
/openbmc/qemu/chardev/ |
H A D | char-udp.c | 137 const char *host = qemu_opt_get(opts, "host"); in qemu_chr_parse_udp() 138 const char *port = qemu_opt_get(opts, "port"); in qemu_chr_parse_udp() 139 const char *localaddr = qemu_opt_get(opts, "localaddr"); in qemu_chr_parse_udp() 140 const char *localport = qemu_opt_get(opts, "localport"); in qemu_chr_parse_udp() 173 .has_ipv4 = qemu_opt_get(opts, "ipv4"), in qemu_chr_parse_udp() 175 .has_ipv6 = qemu_opt_get(opts, "ipv6"), in qemu_chr_parse_udp()
|
H A D | char-socket.c | 1467 const char *path = qemu_opt_get(opts, "path"); in qemu_chr_parse_socket() 1468 const char *host = qemu_opt_get(opts, "host"); in qemu_chr_parse_socket() 1469 const char *port = qemu_opt_get(opts, "port"); in qemu_chr_parse_socket() 1470 const char *fd = qemu_opt_get(opts, "fd"); in qemu_chr_parse_socket() 1493 if (qemu_opt_get(opts, "delay") && qemu_opt_get(opts, "nodelay")) { in qemu_chr_parse_socket() 1498 qemu_opt_get(opts, "delay") || in qemu_chr_parse_socket() 1499 qemu_opt_get(opts, "nodelay"); in qemu_chr_parse_socket() 1510 sock->has_telnet = qemu_opt_get(opts, "telnet"); in qemu_chr_parse_socket() 1512 sock->has_tn3270 = qemu_opt_get(opts, "tn3270"); in qemu_chr_parse_socket() 1514 sock->has_websocket = qemu_opt_get(opts, "websocket"); in qemu_chr_parse_socket() [all …]
|
H A D | char-file.c | 102 const char *path = qemu_opt_get(opts, "path"); in qemu_chr_parse_file_out() 103 const char *inpath = qemu_opt_get(opts, "input-path"); in qemu_chr_parse_file_out()
|
H A D | spice.c | 321 const char *name = qemu_opt_get(opts, "name"); in qemu_chr_parse_spice_vmc() 337 const char *name = qemu_opt_get(opts, "name"); in qemu_chr_parse_spice_port()
|
/openbmc/qemu/system/ |
H A D | vl.c | 528 const char *driver = qemu_opt_get(opts, "driver"); in default_driver_check() 548 if (qemu_opt_get(opts, "debug-threads")) { in parse_name() 551 qemu_name = qemu_opt_get(opts, "guest"); in parse_name() 553 proc_name = qemu_opt_get(opts, "process"); in parse_name() 576 fd_opaque = qemu_opt_get(opts, "opaque"); in parse_add_fd() 654 if (qemu_opt_get(opts, "snapshot") == NULL) { in drive_enable_snapshot() 1156 name = qemu_opt_get(opts, "name"); in parse_fw_cfg() 1157 file = qemu_opt_get(opts, "file"); in parse_fw_cfg() 1158 str = qemu_opt_get(opts, "string"); in parse_fw_cfg() 1159 gen_id = qemu_opt_get(opts, "gen_id"); in parse_fw_cfg() [all …]
|
H A D | rtc.c | 149 value = qemu_opt_get(opts, "base"); in configure_rtc() 161 value = qemu_opt_get(opts, "clock"); in configure_rtc() 174 value = qemu_opt_get(opts, "driftfix"); in configure_rtc()
|
H A D | qemu-seccomp.c | 369 value = qemu_opt_get(opts, "obsolete"); in parse_sandbox() 383 value = qemu_opt_get(opts, "elevateprivileges"); in parse_sandbox() 404 value = qemu_opt_get(opts, "spawn"); in parse_sandbox() 416 value = qemu_opt_get(opts, "resourcecontrol"); in parse_sandbox()
|
H A D | qdev-monitor.c | 296 driver = qemu_opt_get(opts, "driver"); in qdev_device_help() 1201 if (!qemu_opt_get(opts, "driver") in qemu_global_option() 1202 || !qemu_opt_get(opts, "property") in qemu_global_option() 1203 || !qemu_opt_get(opts, "value")) { in qemu_global_option()
|
/openbmc/qemu/trace/ |
H A D | control.c | 294 if (qemu_opt_get(opts, "enable")) { in trace_opt_parse() 295 trace_enable_events(qemu_opt_get(opts, "enable")); in trace_opt_parse() 297 trace_init_events(qemu_opt_get(opts, "events")); in trace_opt_parse() 300 trace_opts_file = g_strdup(qemu_opt_get(opts, "file")); in trace_opt_parse()
|
/openbmc/qemu/block/ |
H A D | gluster.c | 532 ptr = qemu_opt_get(opts, GLUSTER_OPT_VOLUME); in qemu_gluster_parse_json() 539 ptr = qemu_opt_get(opts, GLUSTER_OPT_PATH); in qemu_gluster_parse_json() 559 ptr = qemu_opt_get(opts, GLUSTER_OPT_TYPE); in qemu_gluster_parse_json() 589 ptr = qemu_opt_get(opts, GLUSTER_OPT_HOST); in qemu_gluster_parse_json() 597 ptr = qemu_opt_get(opts, GLUSTER_OPT_PORT); in qemu_gluster_parse_json() 609 ptr = qemu_opt_get(opts, GLUSTER_OPT_TO); in qemu_gluster_parse_json() 613 ptr = qemu_opt_get(opts, GLUSTER_OPT_IPV4); in qemu_gluster_parse_json() 617 ptr = qemu_opt_get(opts, GLUSTER_OPT_IPV6); in qemu_gluster_parse_json() 637 ptr = qemu_opt_get(opts, GLUSTER_OPT_PATH); in qemu_gluster_parse_json() 639 ptr = qemu_opt_get(opts, GLUSTER_OPT_SOCKET); in qemu_gluster_parse_json() [all …]
|
H A D | curl.c | 732 cookie = qemu_opt_get(opts, CURL_BLOCK_OPT_COOKIE); in curl_open() 733 cookie_secret = qemu_opt_get(opts, CURL_BLOCK_OPT_COOKIE_SECRET); in curl_open() 750 file = qemu_opt_get(opts, CURL_BLOCK_OPT_URL); in curl_open() 765 s->username = g_strdup(qemu_opt_get(opts, CURL_BLOCK_OPT_USERNAME)); in curl_open() 766 secretid = qemu_opt_get(opts, CURL_BLOCK_OPT_PASSWORD_SECRET); in curl_open() 776 qemu_opt_get(opts, CURL_BLOCK_OPT_PROXY_USERNAME)); in curl_open() 777 secretid = qemu_opt_get(opts, CURL_BLOCK_OPT_PROXY_PASSWORD_SECRET); in curl_open()
|
H A D | iscsi.c | 1336 user = qemu_opt_get(opts, "user"); in apply_chap() 1341 secretid = qemu_opt_get(opts, "password-secret"); in apply_chap() 1342 password = qemu_opt_get(opts, "password"); in apply_chap() 1374 digest = qemu_opt_get(opts, "header-digest"); in apply_header_digest() 1396 name = qemu_opt_get(opts, "initiator-name"); in get_initiator_name() 1635 user = qemu_opt_get(opts, "user"); in iscsi_parse_iscsi_option() 1640 password = qemu_opt_get(opts, "password"); in iscsi_parse_iscsi_option() 1645 password_secret = qemu_opt_get(opts, "password-secret"); in iscsi_parse_iscsi_option() 1650 initiator_name = qemu_opt_get(opts, "initiator-name"); in iscsi_parse_iscsi_option() 1655 header_digest = qemu_opt_get(opts, "header-digest"); in iscsi_parse_iscsi_option() [all …]
|
H A D | blkverify.c | 126 ret = bdrv_open_file_child(qemu_opt_get(opts, "x-raw"), options, "raw", in blkverify_open() 133 s->test_file = bdrv_open_child(qemu_opt_get(opts, "x-image"), options, in blkverify_open()
|
H A D | blkdebug.c | 194 event_name = qemu_opt_get(opts, "event"); in add_rule() 224 qemu_opt_get(opts, "iotype"), in add_rule() 252 g_strdup(qemu_opt_get(opts, "tag")); in add_rule() 489 s->config_file = g_strdup(qemu_opt_get(opts, "config")); in blkdebug_open() 505 ret = bdrv_open_file_child(qemu_opt_get(opts, "x-image"), options, "image", in blkdebug_open()
|
H A D | file-win32.c | 320 aio = qapi_enum_parse(&BlockdevAioOptions_lookup, qemu_opt_get(opts, "aio"), in get_aio_option() 356 qemu_opt_get(opts, "locking"), in raw_open() 375 filename = qemu_opt_get(opts, "filename"); in raw_open() 862 filename = qemu_opt_get(opts, "filename"); in hdev_open()
|
H A D | replication.c | 102 mode = qemu_opt_get(opts, REPLICATION_MODE); in replication_open() 110 top_id = qemu_opt_get(opts, REPLICATION_TOP_ID); in replication_open() 118 top_id = qemu_opt_get(opts, REPLICATION_TOP_ID); in replication_open()
|
/openbmc/qemu/fsdev/ |
H A D | qemu-fsdev.c | 115 const char *fsdriver = qemu_opt_get(opts, "fsdriver"); in qemu_fsdev_add() 116 const char *writeout = qemu_opt_get(opts, "writeout"); in qemu_fsdev_add()
|
/openbmc/qemu/semihosting/ |
H A D | config.c | 147 const char *target = qemu_opt_get(opts, "target"); in qemu_semihosting_config_options() 149 semihost_chardev = qemu_opt_get(opts, "chardev"); in qemu_semihosting_config_options()
|
/openbmc/qemu/replay/ |
H A D | replay.c | 407 rr = qemu_opt_get(opts, "rr"); in replay_configure() 420 fname = qemu_opt_get(opts, "rrfile"); in replay_configure() 426 replay_snapshot = g_strdup(qemu_opt_get(opts, "rrsnapshot")); in replay_configure()
|
/openbmc/qemu/ |
H A D | blockdev.c | 392 if ((aio = qemu_opt_get(opts, "aio")) != NULL) { in extract_common_blockdev_options() 402 *throttling_group = qemu_opt_get(opts, "throttling.group"); in extract_common_blockdev_options() 457 qemu_opt_get(opts, "detect-zeroes"), in extract_common_blockdev_options() 542 if ((buf = qemu_opt_get(opts, "format")) != NULL) { in blockdev_init() 560 if ((buf = qemu_opt_get(opts, "werror")) != NULL) { in blockdev_init() 569 if ((buf = qemu_opt_get(opts, "rerror")) != NULL) { in blockdev_init() 705 value = qemu_opt_get(opts, from); in qemu_opt_rename() 715 while ((value = qemu_opt_get(opts, from))) { in qemu_opt_rename() 829 value = qemu_opt_get(all_opts, "cache"); in drive_new() 840 if (!qemu_opt_get(all_opts, BDRV_OPT_CACHE_WB)) { in drive_new() [all …]
|
/openbmc/qemu/accel/tcg/ |
H A D | icount-common.c | 419 const char *option = qemu_opt_get(opts, "shift"); in icount_configure() 425 if (qemu_opt_get(opts, "align") != NULL) { in icount_configure()
|
/openbmc/qemu/backends/tpm/ |
H A D | tpm_passthrough.c | 259 value = qemu_opt_get(opts, "cancel-path"); in tpm_passthrough_handle_device_opts() 264 value = qemu_opt_get(opts, "path"); in tpm_passthrough_handle_device_opts()
|
/openbmc/qemu/hw/smbios/ |
H A D | smbios.c | 1241 const char *val = qemu_opt_get(opts, name); in save_opt() 1322 val = qemu_opt_get(opts, "file"); in smbios_entry_add() 1380 val = qemu_opt_get(opts, "type"); in smbios_entry_add() 1405 val = qemu_opt_get(opts, "release"); in smbios_entry_add() 1426 val = qemu_opt_get(opts, "uuid"); in smbios_entry_add() 1545 qemu_opt_get(opts, "kind"), in smbios_entry_add()
|