/openbmc/qemu/block/ |
H A D | crypto.c | 64 Error **errp) in block_crypto_read_func() 87 Error **errp) in block_crypto_write_func() 116 Error **errp) in block_crypto_create_write_func() 131 void *opaque, Error **errp) in block_crypto_create_init_func() 167 Error **errp) in block_crypto_co_format_luks_payload() 254 block_crypto_open_opts_init(QDict *opts, Error **errp) in block_crypto_open_opts_init() 272 block_crypto_create_opts_init(QDict *opts, Error **errp) in block_crypto_create_opts_init() 289 block_crypto_amend_opts_init(QDict *opts, Error **errp) in block_crypto_amend_opts_init() 311 Error **errp) in block_crypto_open_generic() 388 Error **errp) in block_crypto_co_create_generic() [all …]
|
/openbmc/qemu/target/i386/ |
H A D | sev-sysemu-stub.c | 21 SevInfo *qmp_query_sev(Error **errp) in qmp_query_sev() 27 SevLaunchMeasureInfo *qmp_query_sev_launch_measure(Error **errp) in qmp_query_sev_launch_measure() 33 SevCapability *qmp_query_sev_capabilities(Error **errp) in qmp_query_sev_capabilities() 40 bool has_gpa, uint64_t gpa, Error **errp) in qmp_sev_inject_launch_secret() 45 int sev_encrypt_flash(hwaddr gpa, uint8_t *ptr, uint64_t len, Error **errp) in sev_encrypt_flash() 60 Error **errp) in qmp_query_sev_attestation_report()
|
/openbmc/qemu/net/ |
H A D | filter.c | 122 static char *netfilter_get_netdev_id(Object *obj, Error **errp) in netfilter_get_netdev_id() 129 static void netfilter_set_netdev_id(Object *obj, const char *str, Error **errp) in netfilter_set_netdev_id() 142 static void netfilter_set_direction(Object *obj, int direction, Error **errp) in netfilter_set_direction() 148 static char *netfilter_get_status(Object *obj, Error **errp) in netfilter_get_status() 155 static void netfilter_set_status(Object *obj, const char *str, Error **errp) in netfilter_set_status() 174 static char *netfilter_get_position(Object *obj, Error **errp) in netfilter_get_position() 181 static void netfilter_set_position(Object *obj, const char *str, Error **errp) in netfilter_set_position() 188 static char *netfilter_get_insert(Object *obj, Error **errp) in netfilter_get_insert() 195 static void netfilter_set_insert(Object *obj, const char *str, Error **errp) in netfilter_set_insert() 217 static void netfilter_complete(UserCreatable *uc, Error **errp) in netfilter_complete() [all …]
|
/openbmc/qemu/crypto/ |
H A D | secret_common.c | 36 Error **errp) in qcrypto_secret_decrypt() 131 Error **errp) in qcrypto_secret_decode() 141 qcrypto_secret_complete(UserCreatable *uc, Error **errp) in qcrypto_secret_complete() 216 Error **errp) in qcrypto_secret_prop_set_iv() 227 Error **errp) in qcrypto_secret_prop_get_iv() 237 Error **errp) in qcrypto_secret_prop_set_keyid() 248 Error **errp) in qcrypto_secret_prop_get_keyid() 289 Error **errp) in qcrypto_secret_lookup() 326 Error **errp) in qcrypto_secret_lookup_as_utf8() 351 Error **errp) in qcrypto_secret_lookup_as_base64()
|
H A D | tlssession.c | 137 Error **errp) in qcrypto_tls_session_new() 294 Error **errp) in qcrypto_tls_session_check_certificate() 434 Error **errp) in qcrypto_tls_session_check_credentials() 481 Error **errp) in qcrypto_tls_session_write() 510 Error **errp) in qcrypto_tls_session_read() 546 Error **errp) in qcrypto_tls_session_handshake() 591 Error **errp) in qcrypto_tls_session_get_key_size() 624 Error **errp) in qcrypto_tls_session_new() 639 Error **errp) in qcrypto_tls_session_check_credentials() 660 Error **errp) in qcrypto_tls_session_write() [all …]
|
H A D | tlscredsx509.c | 42 Error **errp) in qcrypto_tls_creds_check_cert_times() 83 Error **errp) in qcrypto_tls_creds_check_cert_basic_constraints() 134 Error **errp) in qcrypto_tls_creds_check_cert_key_usage() 193 Error **errp) in qcrypto_tls_creds_check_cert_key_purpose() 287 Error **errp) in qcrypto_tls_creds_check_cert() 326 Error **errp) in qcrypto_tls_creds_check_cert_pair() 376 Error **errp) in qcrypto_tls_creds_load_cert() 432 Error **errp) in qcrypto_tls_creds_load_ca_cert_list() 471 Error **errp) in qcrypto_tls_creds_x509_sanity_check() 535 Error **errp) in qcrypto_tls_creds_x509_load() [all …]
|
H A D | block-luks.c | 154 Error **errp) in qcrypto_block_luks_cipher_name_lookup() 183 Error **errp) in qcrypto_block_luks_cipher_alg_lookup() 207 Error **errp) in qcrypto_block_luks_name_lookup() 218 #define qcrypto_block_luks_cipher_mode_lookup(name, errp) \ argument 224 #define qcrypto_block_luks_hash_name_lookup(name, errp) \ argument 230 #define qcrypto_block_luks_ivgen_name_lookup(name, errp) \ argument 268 Error **errp) in qcrypto_block_luks_essiv_cipher() 414 Error **errp) in qcrypto_block_luks_store_header() 445 Error **errp) in qcrypto_block_luks_load_header() 474 Error **errp) in qcrypto_block_luks_check_header() [all …]
|
/openbmc/qemu/hw/core/ |
H A D | qdev-properties-system.c | 42 bool allow_override, Error **errp) in check_prop_still_unset() 62 Error **errp) in qdev_prop_sanitize_s390x_loadparm() 91 Error **errp) in get_drive() 116 void *opaque, bool iothread, Error **errp) in set_drive_helper() 214 Error **errp) in set_drive() 220 void *opaque, Error **errp) in set_drive_iothread() 258 Error **errp) in get_chr() 269 Error **errp) in set_chr() 330 Error **errp) in get_mac() 345 Error **errp) in set_mac() [all …]
|
H A D | qdev-properties.c | 15 Error **errp) in qdev_prop_set_after_realize() 30 const PropertyInfo *info, Error **errp) in qdev_prop_allow_set() 43 Object *val, Error **errp) in qdev_prop_allow_set_link_before_realize() 62 void *opaque, Error **errp) in field_prop_get() 79 void *opaque, Error **errp) in field_prop_set() 101 void *opaque, Error **errp) in qdev_propinfo_get_enum() 110 void *opaque, Error **errp) in qdev_propinfo_set_enum() 152 void *opaque, Error **errp) in prop_get_bit() 162 void *opaque, Error **errp) in prop_set_bit() 206 void *opaque, Error **errp) in prop_get_bit64() [all …]
|
/openbmc/qemu/qga/ |
H A D | commands-posix.c | 50 static bool ga_wait_child(pid_t pid, int *status, Error **errp) in ga_wait_child() 101 const char *action, Error **errp) in ga_run_command() 216 void qmp_guest_shutdown(const char *mode, Error **errp) in qmp_guest_shutdown() 267 void qmp_guest_set_time(bool has_time, int64_t time_ns, Error **errp) in qmp_guest_set_time() 330 static int64_t guest_file_handle_add(FILE *fh, Error **errp) in guest_file_handle_add() 348 GuestFileHandle *guest_file_handle_find(int64_t id, Error **errp) in guest_file_handle_find() 389 find_open_flag(const char *mode_str, Error **errp) in find_open_flag() 417 safe_open_or_create(const char *path, const char *mode, Error **errp) in safe_open_or_create() 487 Error **errp) in qmp_guest_file_open() 522 void qmp_guest_file_close(int64_t handle, Error **errp) in qmp_guest_file_close() [all …]
|
H A D | commands-win32.c | 131 Error **errp = NULL; in find_open_flag() local 145 static int64_t guest_file_handle_add(HANDLE fh, Error **errp) in guest_file_handle_add() 162 GuestFileHandle *guest_file_handle_find(int64_t id, Error **errp) in guest_file_handle_find() 196 int64_t qmp_guest_file_open(const char *path, const char *mode, Error **errp) in qmp_guest_file_open() 254 void qmp_guest_file_close(int64_t handle, Error **errp) in qmp_guest_file_close() 272 static void acquire_privilege(const char *name, Error **errp) in acquire_privilege() 304 Error **errp) in execute_async() 312 void qmp_guest_shutdown(const char *mode, Error **errp) in qmp_guest_shutdown() 347 int64_t count, Error **errp) in guest_file_read_unsafe() 376 Error **errp) in qmp_guest_file_write() [all …]
|
/openbmc/qemu/ |
H A D | blockdev.c | 319 static int parse_block_error_action(const char *buf, bool is_read, Error **errp) in parse_block_error_action() 337 Error **errp) in parse_stats_intervals() 382 BlockdevDetectZeroesOptions *detect_zeroes, Error **errp) in extract_common_blockdev_options() 480 Error **errp) in blockdev_init() 663 BlockDriverState *bds_tree_init(QDict *bs_opts, Error **errp) in bds_tree_init() 701 Error **errp) in qemu_opt_rename() 776 Error **errp) in drive_new() 1039 static BlockDriverState *qmp_get_root_bs(const char *name, Error **errp) in qmp_get_root_bs() 1063 static void blockdev_do_action(TransactionAction *action, Error **errp) in blockdev_do_action() 1076 bool has_mode, NewImageMode mode, Error **errp) in qmp_blockdev_snapshot_sync() [all …]
|
/openbmc/qemu/qapi/ |
H A D | qobject-input-visitor.c | 166 bool consume, Error **errp) in qobject_input_get_object() 178 Error **errp) in qobject_input_get_keyval() 241 static bool qobject_input_check_struct(Visitor *v, Error **errp) in qobject_input_check_struct() 279 size_t size, Error **errp) in qobject_input_start_struct() 316 Error **errp) in qobject_input_start_list() 356 static bool qobject_input_check_list(Visitor *v, Error **errp) in qobject_input_check_list() 382 Error **errp) in qobject_input_start_alternate() 397 Error **errp) in qobject_input_type_int64() 416 int64_t *obj, Error **errp) in qobject_input_type_int64_keyval() 435 uint64_t *obj, Error **errp) in qobject_input_type_uint64() [all …]
|
H A D | qapi-clone-visitor.c | 28 size_t size, Error **errp) in qapi_clone_start_struct() 57 Error **errp) in qapi_clone_start_list() 75 Error **errp) in qapi_clone_start_alternate() 81 Error **errp) in qapi_clone_type_int64() 91 uint64_t *obj, Error **errp) in qapi_clone_type_uint64() 101 Error **errp) in qapi_clone_type_bool() 111 Error **errp) in qapi_clone_type_str() 128 Error **errp) in qapi_clone_type_number() 138 Error **errp) in qapi_clone_type_null()
|
/openbmc/qemu/monitor/ |
H A D | fds.c | 63 static bool monitor_add_fd(Monitor *mon, int fd, const char *fdname, Error **errp) in monitor_add_fd() 101 void qmp_getfd(const char *fdname, Error **errp) in qmp_getfd() 116 void qmp_closefd(const char *fdname, Error **errp) in qmp_closefd() 142 int monitor_get_fd(Monitor *mon, const char *fdname, Error **errp) in monitor_get_fd() 207 const char *opaque, Error **errp) in qmp_add_fd() 232 void qmp_get_win32_socket(const char *infos, const char *fdname, Error **errp) in qmp_get_win32_socket() 266 void qmp_remove_fd(int64_t fdset_id, bool has_fd, int64_t fd, Error **errp) in qmp_remove_fd() 306 FdsetInfoList *qmp_query_fdsets(Error **errp) in qmp_query_fdsets() 335 const char *opaque, Error **errp) in monitor_fdset_add_fd() 412 int monitor_fdset_dup_fd_add(int64_t fdset_id, int flags, Error **errp) in monitor_fdset_dup_fd_add() [all …]
|
H A D | qmp-cmds.c | 35 NameInfo *qmp_query_name(Error **errp) in qmp_query_name() 43 void qmp_quit(Error **errp) in qmp_quit() 49 void qmp_stop(Error **errp) in qmp_stop() 65 void qmp_cont(Error **errp) in qmp_cont() 120 Error **errp) in qmp_add_client() 165 int64_t cpu_index, Error **errp) in qmp_human_monitor_command()
|
/openbmc/qemu/ui/ |
H A D | input-barrier.c | 490 static void input_barrier_complete(UserCreatable *uc, Error **errp) in input_barrier_complete() 539 static char *input_barrier_get_name(Object *obj, Error **errp) in input_barrier_get_name() 547 Error **errp) in input_barrier_set_name() 558 static char *input_barrier_get_server(Object *obj, Error **errp) in input_barrier_get_server() 566 Error **errp) in input_barrier_set_server() 574 static char *input_barrier_get_port(Object *obj, Error **errp) in input_barrier_get_port() 582 Error **errp) in input_barrier_set_port() 591 Error **errp) in input_barrier_set_x_origin() 605 static char *input_barrier_get_x_origin(Object *obj, Error **errp) in input_barrier_get_x_origin() 613 Error **errp) in input_barrier_set_y_origin() [all …]
|
H A D | dbus.c | 170 dbus_display_add_console(DBusDisplay *dd, int idx, Error **errp) in dbus_display_add_console() 191 dbus_display_complete(UserCreatable *uc, Error **errp) in dbus_display_complete() 286 dbus_display_add_client(int csock, Error **errp) in dbus_display_add_client() 334 get_dbus_p2p(Object *o, Error **errp) in get_dbus_p2p() 342 set_dbus_p2p(Object *o, bool p2p, Error **errp) in set_dbus_p2p() 350 get_dbus_addr(Object *o, Error **errp) in get_dbus_addr() 358 set_dbus_addr(Object *o, const char *str, Error **errp) in set_dbus_addr() 367 get_audiodev(Object *o, Error **errp) in get_audiodev() 375 set_audiodev(Object *o, const char *str, Error **errp) in set_audiodev() 385 get_gl_mode(Object *o, Error **errp) in get_gl_mode() [all …]
|
/openbmc/qemu/include/qapi/ |
H A D | error.h | 317 #define error_setg(errp, fmt, ...) \ argument 333 #define error_setg_errno(errp, os_error, fmt, ...) \ argument 347 #define error_setg_win32(errp, win32_err, fmt, ...) \ argument 422 #define error_setg_file_open(errp, os_errno, filename) \ argument 474 #define error_set(errp, err_class, fmt, ...) \ argument 512 Error **errp; member
|
/openbmc/qemu/dump/ |
H A D | win_dump.c | 23 bool win_dump_available(Error **errp) in win_dump_available() 48 int fd, Error **errp) in write_run() 83 static void write_runs(DumpState *s, WinDumpHeader *h, bool x64, Error **errp) in write_runs() 114 static void patch_mm_pfn_database(WinDumpHeader *h, bool x64, Error **errp) in patch_mm_pfn_database() 125 static void patch_bugcheck_data(WinDumpHeader *h, bool x64, Error **errp) in patch_bugcheck_data() 180 static bool check_header(WinDumpHeader *h, bool *x64, Error **errp) in check_header() 203 static void check_kdbg(WinDumpHeader *h, bool x64, Error **errp) in check_kdbg() 251 Error **errp) in patch_and_save_context() 408 void create_win_dump(DumpState *s, Error **errp) in create_win_dump() 485 bool win_dump_available(Error **errp) in win_dump_available() [all …]
|
/openbmc/qemu/hw/i386/ |
H A D | microvm.c | 419 DeviceState *dev, Error **errp) in microvm_device_pre_plug_cb() 428 DeviceState *dev, Error **errp) in microvm_device_plug_cb() 434 DeviceState *dev, Error **errp) in microvm_device_unplug_request_cb() 440 DeviceState *dev, Error **errp) in microvm_device_unplug_cb() 489 void *opaque, Error **errp) in microvm_machine_get_rtc() 498 void *opaque, Error **errp) in microvm_machine_set_rtc() 506 void *opaque, Error **errp) in microvm_machine_get_pcie() 515 void *opaque, Error **errp) in microvm_machine_set_pcie() 523 void *opaque, Error **errp) in microvm_machine_get_ioapic2() 532 void *opaque, Error **errp) in microvm_machine_set_ioapic2() [all …]
|
H A D | pc.c | 360 const char *boot_device, Error **errp) in set_boot_dev() 383 static void pc_boot_set(void *opaque, const char *boot_device, Error **errp) in pc_boot_set() 590 static gboolean pc_init_ne2k_isa(ISABus *bus, NICInfo *nd, Error **errp) in pc_init_ne2k_isa() 1085 bool create_i8042, bool no_vmport, Error **errp) in pc_superio_init() 1281 Error **errp) in pc_memory_pre_plug() 1314 DeviceState *dev, Error **errp) in pc_memory_plug() 1331 DeviceState *dev, Error **errp) in pc_memory_unplug_request() 1356 DeviceState *dev, Error **errp) in pc_memory_unplug() 1374 DeviceState *dev, Error **errp) in pc_hv_balloon_pre_plug() 1382 DeviceState *dev, Error **errp) in pc_hv_balloon_plug() [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | spapr_xive_kvm.c | 77 int kvmppc_xive_cpu_set_state(XiveTCTX *tctx, Error **errp) in kvmppc_xive_cpu_set_state() 99 int kvmppc_xive_cpu_get_state(XiveTCTX *tctx, Error **errp) in kvmppc_xive_cpu_get_state() 123 Error **errp; member 135 int kvmppc_xive_cpu_synchronize_state(XiveTCTX *tctx, Error **errp) in kvmppc_xive_cpu_synchronize_state() 151 int kvmppc_xive_cpu_connect(XiveTCTX *tctx, Error **errp) in kvmppc_xive_cpu_connect() 191 Error **errp) in kvmppc_xive_set_source_config() 223 void kvmppc_xive_sync_source(SpaprXive *xive, uint32_t lisn, Error **errp) in kvmppc_xive_sync_source() 234 int kvmppc_xive_source_reset_one(XiveSource *xsrc, int srcno, Error **errp) in kvmppc_xive_source_reset_one() 254 static int kvmppc_xive_source_reset(XiveSource *xsrc, Error **errp) in kvmppc_xive_source_reset() 371 Error **errp) in kvmppc_xive_get_queue_config() [all …]
|
/openbmc/qemu/backends/ |
H A D | hostmem-memfd.c | 33 memfd_backend_memory_alloc(HostMemoryBackend *backend, Error **errp) in memfd_backend_memory_alloc() 63 memfd_backend_get_hugetlb(Object *o, Error **errp) in memfd_backend_get_hugetlb() 69 memfd_backend_set_hugetlb(Object *o, bool value, Error **errp) in memfd_backend_set_hugetlb() 76 void *opaque, Error **errp) in memfd_backend_set_hugetlbsize() 99 void *opaque, Error **errp) in memfd_backend_get_hugetlbsize() 108 memfd_backend_get_seal(Object *o, Error **errp) in memfd_backend_get_seal() 114 memfd_backend_set_seal(Object *o, bool value, Error **errp) in memfd_backend_set_seal()
|
/openbmc/qemu/io/ |
H A D | channel-file.c | 49 qio_channel_file_new_dupfd(int fd, Error **errp) in qio_channel_file_new_dupfd() 65 Error **errp) in qio_channel_file_new_path() 113 Error **errp) in qio_channel_file_readv() 142 Error **errp) in qio_channel_file_writev() 168 Error **errp) in qio_channel_file_preadv() 194 Error **errp) in qio_channel_file_pwritev() 217 Error **errp) in qio_channel_file_set_blocking() 238 Error **errp) in qio_channel_file_seek() 255 Error **errp) in qio_channel_file_close()
|