Home
last modified time | relevance | path

Searched refs:qemu_opt_get (Results 1 – 25 of 55) sorted by relevance

123

/openbmc/qemu/tests/unit/
H A Dtest-qemu-opts.c180 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 Dspice-core.c539 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 Dchar-udp.c137 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 Dchar-socket.c1467 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 Dchar-file.c102 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 Dspice.c321 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 Dvl.c528 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 Drtc.c149 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 Dqemu-seccomp.c369 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 Dqdev-monitor.c296 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 Dcontrol.c294 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 Dgluster.c532 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 Dcurl.c732 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 Discsi.c1336 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 Dblkverify.c126 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 Dblkdebug.c194 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 Dfile-win32.c320 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 Dreplication.c102 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 Dqemu-fsdev.c115 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 Dconfig.c147 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 Dreplay.c407 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 Dblockdev.c392 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 Dicount-common.c419 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 Dtpm_passthrough.c259 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 Dsmbios.c1241 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()

123