Home
last modified time | relevance | path

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

123

/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()
460 g_assert_cmpstr(qemu_opt_get(opts, "x"), ==, "y"); in test_opts_parse()
465 g_assert_cmpstr(qemu_opt_get(opts, ""), ==, "on"); in test_opts_parse()
[all …]
/qemu/ui/
H A Dspice-core.c539 addr = qemu_opt_get(opts, "addr"); in qmp_query_spice_real()
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()
723 tls_ciphers = qemu_opt_get(opts, "tls-ciphers"); in qemu_spice_init()
726 addr = qemu_opt_get(opts, "addr"); in qemu_spice_init()
776 str = qemu_opt_get(opts, "image-compression"); in qemu_spice_init()
783 str = qemu_opt_get(opts, "jpeg-wan-compression"); in qemu_spice_init()
790 str = qemu_opt_get(opts, "zlib-glz-wan-compression"); in qemu_spice_init()
[all …]
/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.c1440 const char *path = qemu_opt_get(opts, "path"); in qemu_chr_parse_socket()
1441 const char *host = qemu_opt_get(opts, "host"); in qemu_chr_parse_socket()
1442 const char *port = qemu_opt_get(opts, "port"); in qemu_chr_parse_socket()
1443 const char *fd = qemu_opt_get(opts, "fd"); in qemu_chr_parse_socket()
1466 if (qemu_opt_get(opts, "delay") && qemu_opt_get(opts, "nodelay")) { in qemu_chr_parse_socket()
1471 qemu_opt_get(opts, "delay") || in qemu_chr_parse_socket()
1472 qemu_opt_get(opts, "nodelay"); in qemu_chr_parse_socket()
1483 sock->has_telnet = qemu_opt_get(opts, "telnet"); in qemu_chr_parse_socket()
1518 .has_to = qemu_opt_get(opts, "to"), in qemu_chr_parse_socket()
1520 .has_ipv4 = qemu_opt_get(opts, "ipv4"), 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()
/qemu/system/
H A Dvl.c547 if (qemu_opt_get(opts, "debug-threads")) { in parse_name()
550 qemu_name = qemu_opt_get(opts, "guest"); in parse_name()
552 proc_name = qemu_opt_get(opts, "process"); in parse_name()
575 fd_opaque = qemu_opt_get(opts, "opaque"); in parse_add_fd()
1148 name = qemu_opt_get(opts, "name"); in parse_fw_cfg()
1149 file = qemu_opt_get(opts, "file"); in parse_fw_cfg()
1150 str = qemu_opt_get(opts, "string"); in parse_fw_cfg()
1151 gen_id = qemu_opt_get(opts, "gen_id"); in parse_fw_cfg()
2083 mem_str = qemu_opt_get(opts, "size"); in parse_memory_options()
2092 if (qemu_opt_get(opts, "maxmem")) { in parse_memory_options()
[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.c289 driver = qemu_opt_get(opts, "driver"); in qdev_device_help()
1136 if (!qemu_opt_get(opts, "driver") in qemu_global_option()
1137 || !qemu_opt_get(opts, "property") in qemu_global_option()
1138 || !qemu_opt_get(opts, "value")) { in qemu_global_option()
/qemu/trace/
H A Dcontrol.c295 if (qemu_opt_get(opts, "enable")) { in trace_opt_parse()
296 trace_enable_events(qemu_opt_get(opts, "enable")); in trace_opt_parse()
298 trace_init_events(qemu_opt_get(opts, "events")); in trace_opt_parse()
301 trace_opts_file = g_strdup(qemu_opt_get(opts, "file")); in trace_opt_parse()
/qemu/block/
H A Dgluster.c533 ptr = qemu_opt_get(opts, GLUSTER_OPT_VOLUME); in qemu_gluster_parse_json()
540 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()
812 filename = qemu_opt_get(opts, GLUSTER_OPT_FILENAME); in qemu_gluster_open()
[all …]
H A Dcurl.c740 cookie = qemu_opt_get(opts, CURL_BLOCK_OPT_COOKIE); in curl_open()
741 cookie_secret = qemu_opt_get(opts, CURL_BLOCK_OPT_COOKIE_SECRET); in curl_open()
758 file = qemu_opt_get(opts, CURL_BLOCK_OPT_URL); in curl_open()
773 s->username = g_strdup(qemu_opt_get(opts, CURL_BLOCK_OPT_USERNAME)); in curl_open()
774 secretid = qemu_opt_get(opts, CURL_BLOCK_OPT_PASSWORD_SECRET); in curl_open()
784 qemu_opt_get(opts, CURL_BLOCK_OPT_PROXY_USERNAME)); in curl_open()
785 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()
1664 timeout = qemu_opt_get(opts, "timeout"); in iscsi_parse_iscsi_option()
1818 transport_name = qemu_opt_get(opts, "transport"); in iscsi_open()
1819 portal = qemu_opt_get(opts, "portal"); in iscsi_open()
[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()
/qemu/fsdev/
H A Dqemu-fsdev.c126 const char *fsdriver = qemu_opt_get(opts, "fsdriver"); in qemu_fsdev_add()
127 const char *writeout = qemu_opt_get(opts, "writeout"); in qemu_fsdev_add()
/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()
/qemu/replay/
H A Dreplay.c405 rr = qemu_opt_get(opts, "rr"); in replay_configure()
418 fname = qemu_opt_get(opts, "rrfile"); in replay_configure()
424 replay_snapshot = g_strdup(qemu_opt_get(opts, "rrsnapshot")); in replay_configure()
/qemu/
H A Dblockdev.c542 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()
866 value = qemu_opt_get(legacy_opts, "media"); in drive_new()
892 value = qemu_opt_get(legacy_opts, "if"); in drive_new()
982 filename = qemu_opt_get(legacy_opts, "file"); in drive_new()
985 werror = qemu_opt_get(legacy_opts, "werror"); in drive_new()
[all …]
/qemu/accel/tcg/
H A Dicount-common.c420 const char *option = qemu_opt_get(opts, "shift"); in icount_configure()
426 if (qemu_opt_get(opts, "align") != NULL) { in icount_configure()
/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()
/qemu/hw/smbios/
H A Dsmbios.c1245 const char *val = qemu_opt_get(opts, name); in save_opt()
1326 val = qemu_opt_get(opts, "file"); in smbios_entry_add()
1384 val = qemu_opt_get(opts, "type"); in smbios_entry_add()
1409 val = qemu_opt_get(opts, "release"); in smbios_entry_add()
1430 val = qemu_opt_get(opts, "uuid"); in smbios_entry_add()
1549 qemu_opt_get(opts, "kind"), in smbios_entry_add()

123