Home
last modified time | relevance | path

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

/openbmc/qemu/fsdev/
H A Dqemu-fsdev-throttle.c38 qemu_opt_get_number(opts, "throttling.bps-total", 0); in fsdev_throttle_parse_opts()
40 qemu_opt_get_number(opts, "throttling.bps-read", 0); in fsdev_throttle_parse_opts()
42 qemu_opt_get_number(opts, "throttling.bps-write", 0); in fsdev_throttle_parse_opts()
44 qemu_opt_get_number(opts, "throttling.iops-total", 0); in fsdev_throttle_parse_opts()
46 qemu_opt_get_number(opts, "throttling.iops-read", 0); in fsdev_throttle_parse_opts()
48 qemu_opt_get_number(opts, "throttling.iops-write", 0); in fsdev_throttle_parse_opts()
51 qemu_opt_get_number(opts, "throttling.bps-total-max", 0); in fsdev_throttle_parse_opts()
53 qemu_opt_get_number(opts, "throttling.bps-read-max", 0); in fsdev_throttle_parse_opts()
55 qemu_opt_get_number(opts, "throttling.bps-write-max", 0); in fsdev_throttle_parse_opts()
57 qemu_opt_get_number(opts, "throttling.iops-total-max", 0); in fsdev_throttle_parse_opts()
[all …]
/openbmc/qemu/hw/smbios/
H A Dsmbios.c1461 type4.processor_family = qemu_opt_get_number(opts, in smbios_entry_add()
1470 type4.processor_id = qemu_opt_get_number(opts, "processor-id", 0); in smbios_entry_add()
1471 type4.max_speed = qemu_opt_get_number(opts, "max-speed", in smbios_entry_add()
1473 type4.current_speed = qemu_opt_get_number(opts, "current-speed", in smbios_entry_add()
1489 t8_i->connector_type = qemu_opt_get_number(opts, in smbios_entry_add()
1491 t8_i->port_type = qemu_opt_get_number(opts, "port_type", 0); in smbios_entry_add()
1501 t->slot_type = qemu_opt_get_number(opts, "slot_type", 0); in smbios_entry_add()
1503 qemu_opt_get_number(opts, "slot_data_bus_width", 0); in smbios_entry_add()
1504 t->current_usage = qemu_opt_get_number(opts, "current_usage", 0); in smbios_entry_add()
1505 t->slot_length = qemu_opt_get_number(opts, "slot_length", 0); in smbios_entry_add()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-qemu-opts.c266 opt = qemu_opt_get_number(opts, "number1", 5); in test_qemu_opt_get_number()
272 opt = qemu_opt_get_number(opts, "number1", 5); in test_qemu_opt_get_number()
278 opt = qemu_opt_get_number(opts, "number1", 5); in test_qemu_opt_get_number()
397 opt = qemu_opt_get_number(opts, "number1", 5); in test_qemu_opts_reset()
403 opt = qemu_opt_get_number(opts, "number1", 5); in test_qemu_opts_reset()
556 g_assert_cmpuint(qemu_opt_get_number(opts, "number1", 1), ==, 0); in test_opts_parse_number()
563 g_assert_cmphex(qemu_opt_get_number(opts, "number1", 1), ==, UINT64_MAX); in test_opts_parse_number()
564 g_assert_cmphex(qemu_opt_get_number(opts, "number2", 0), ==, UINT64_MAX); in test_opts_parse_number()
582 g_assert_cmpuint(qemu_opt_get_number(opts, "number1", 1), ==, 42); in test_opts_parse_number()
583 g_assert_cmpuint(qemu_opt_get_number(opts, "number2", 0), ==, 42); in test_opts_parse_number()
[all …]
/openbmc/qemu/
H A Dblockdev.c408 qemu_opt_get_number(opts, "throttling.bps-total", 0); in extract_common_blockdev_options()
410 qemu_opt_get_number(opts, "throttling.bps-read", 0); in extract_common_blockdev_options()
412 qemu_opt_get_number(opts, "throttling.bps-write", 0); in extract_common_blockdev_options()
414 qemu_opt_get_number(opts, "throttling.iops-total", 0); in extract_common_blockdev_options()
416 qemu_opt_get_number(opts, "throttling.iops-read", 0); in extract_common_blockdev_options()
418 qemu_opt_get_number(opts, "throttling.iops-write", 0); in extract_common_blockdev_options()
421 qemu_opt_get_number(opts, "throttling.bps-total-max", 0); in extract_common_blockdev_options()
423 qemu_opt_get_number(opts, "throttling.bps-read-max", 0); in extract_common_blockdev_options()
425 qemu_opt_get_number(opts, "throttling.bps-write-max", 0); in extract_common_blockdev_options()
427 qemu_opt_get_number(opts, "throttling.iops-total-max", 0); in extract_common_blockdev_options()
[all …]
/openbmc/qemu/ui/
H A Dspice-core.c540 port = qemu_opt_get_number(opts, "port", 0); in qmp_query_spice_real()
541 tls_port = qemu_opt_get_number(opts, "tls-port", 0); in qmp_query_spice_real()
675 port = qemu_opt_get_number(opts, "port", 0); in qemu_spice_init()
676 tls_port = qemu_opt_get_number(opts, "tls-port", 0); in qemu_spice_init()
H A Dconsole-vc.c1029 val = qemu_opt_get_number(opts, "width", 0); in vc_chr_parse()
1035 val = qemu_opt_get_number(opts, "height", 0); in vc_chr_parse()
1041 val = qemu_opt_get_number(opts, "cols", 0); in vc_chr_parse()
1047 val = qemu_opt_get_number(opts, "rows", 0); in vc_chr_parse()
H A Dvnc.c3842 int to = qemu_opt_get_number(opts, "to", 0); in vnc_display_get_addresses()
4072 key_delay_ms = qemu_opt_get_number(opts, "key-delay-ms", 10); in vnc_display_open()
4133 vd->connections_limit = qemu_opt_get_number(opts, "connections", 32); in vnc_display_open()
4196 int head = qemu_opt_get_number(opts, "head", 0); in vnc_display_open()
H A Dspice-display.c1202 int head = qemu_opt_get_number(opts, "head", 0); in qemu_spice_display_init()
/openbmc/qemu/block/
H A Dblkdebug.c209 .state = qemu_opt_get_number(opts, "state", 0), in add_rule()
215 rule->options.inject.error = qemu_opt_get_number(opts, "errno", EIO); in add_rule()
219 sector = qemu_opt_get_number(opts, "sector", -1); in add_rule()
247 qemu_opt_get_number(opts, "new_state", 0); in add_rule()
H A Dnull.c92 qemu_opt_get_number(opts, NULL_OPT_LATENCY, 0); in null_open()
H A Dblklogwrites.c272 s->update_interval = qemu_opt_get_number(opts, "log-super-update-interval", in blk_log_writes_open()
H A Dnbd.c1896 s->reconnect_delay = qemu_opt_get_number(opts, "reconnect-delay", 0); in nbd_process_options()
1897 s->open_timeout = qemu_opt_get_number(opts, "open-timeout", 0); in nbd_process_options()
H A Dcurl.c722 s->timeout = qemu_opt_get_number(opts, CURL_BLOCK_OPT_TIMEOUT, in curl_open()
H A Discsi.c1821 lun = qemu_opt_get_number(opts, "lun", 0); in iscsi_open()
1889 timeout = qemu_opt_get_number(opts, "timeout", 0); in iscsi_open()
H A Dgluster.c813 s->debug = qemu_opt_get_number(opts, GLUSTER_OPT_DEBUG, in qemu_gluster_open()
H A Dquorum.c972 s->threshold = qemu_opt_get_number(opts, QUORUM_OPT_VOTE_THRESHOLD, 0); in quorum_open()
H A Dnvme.c990 namespace = qemu_opt_get_number(opts, NVME_BLOCK_OPT_NAMESPACE, 1); in nvme_open()
H A Dqcow2.c1066 qemu_opt_get_number(opts, QCOW2_OPT_CACHE_CLEAN_INTERVAL, in qcow2_update_options_prepare()
5744 refcount_bits = qemu_opt_get_number(opts, BLOCK_OPT_REFCOUNT_BITS, in qcow2_amend_options()
H A Dvvfat.c1166 s->fat_type = qemu_opt_get_number(opts, "fat-type", 0); in vvfat_open()
H A Dfile-posix.c643 s->aio_max_batch = qemu_opt_get_number(opts, "aio-max-batch", 0); in raw_open_common()
/openbmc/qemu/include/qemu/
H A Doption.h90 uint64_t qemu_opt_get_number(QemuOpts *opts, const char *name, uint64_t defval);
/openbmc/qemu/chardev/
H A Dchar-socket.c1523 sock->reconnect = qemu_opt_get_number(opts, "reconnect", 0); in qemu_chr_parse_socket()
1525 sock->reconnect_ms = qemu_opt_get_number(opts, "reconnect-ms", 0); in qemu_chr_parse_socket()
1549 .to = qemu_opt_get_number(opts, "to", 0), in qemu_chr_parse_socket()
/openbmc/qemu/system/
H A Dvl.c574 fd = qemu_opt_get_number(opts, "fd", -1); in parse_add_fd()
575 fdset_id = qemu_opt_get_number(opts, "set", -1); in parse_add_fd()
628 fd = qemu_opt_get_number(opts, "fd", -1); in cleanup_add_fd()
3400 qemu_opt_get_number(opts, "bootindex", -1); in qemu_init()
/openbmc/qemu/hw/9pfs/
H A D9p-local.c1556 qemu_opt_get_number(opts, "fmode", SM_LOCAL_MODE_BITS) & 0777; in local_parse_opts()
1558 qemu_opt_get_number(opts, "dmode", SM_LOCAL_DIR_MODE_BITS) & 0777; in local_parse_opts()
/openbmc/qemu/util/
H A Dqemu-option.c392 uint64_t qemu_opt_get_number(QemuOpts *opts, const char *name, uint64_t defval) in qemu_opt_get_number() function