Home
last modified time | relevance | path

Searched refs:tls_creds (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/
H A Dblockdev-nbd.c126 void nbd_server_start(SocketAddress *addr, const char *tls_creds, in nbd_server_start() argument
151 if (tls_creds) { in nbd_server_start()
152 nbd_server->tlscreds = nbd_get_tls_creds(tls_creds, errp); in nbd_server_start()
171 nbd_server_start(arg->addr, arg->tls_creds, arg->tls_authz, in nbd_server_start_options()
176 const char *tls_creds, in qmp_nbd_server_start() argument
183 nbd_server_start(addr_flat, tls_creds, tls_authz, max_connections, errp); in qmp_nbd_server_start()
/openbmc/qemu/migration/
H A Doptions.c396 return s->parameters.tls_creds && *s->parameters.tls_creds; in migrate_tls()
887 return s->parameters.tls_creds; in migrate_tls_creds()
964 params->tls_creds = g_strdup(s->parameters.tls_creds); in qmp_query_migrate_parameters()
1021 params->tls_creds = g_strdup(""); in migrate_params_init()
1212 (params->tls_creds && *params->tls_creds))) { in migrate_params_check()
1278 if (params->tls_creds) { in migrate_params_test_apply()
1280 dest->tls_creds = params->tls_creds->u.s; in migrate_params_test_apply()
1399 if (params->tls_creds) { in migrate_params_apply()
1400 g_free(s->parameters.tls_creds); in migrate_params_apply()
1402 s->parameters.tls_creds = g_strdup(params->tls_creds->u.s); in migrate_params_apply()
[all …]
H A Dtls.c35 const char *tls_creds = migrate_tls_creds(); in migration_tls_get_creds() local
38 creds = object_resolve_path_component(object_get_objects_root(), tls_creds); in migration_tls_get_creds()
40 error_setg(errp, "No TLS credentials with id '%s'", tls_creds); in migration_tls_get_creds()
47 tls_creds); in migration_tls_get_creds()
H A Dmigration-hmp-cmds.c313 assert(params->tls_creds); in hmp_info_migrate_parameters()
316 params->tls_creds); in hmp_info_migrate_parameters()
568 p->tls_creds = g_new0(StrOrNull, 1); in hmp_migrate_set_parameter()
569 p->tls_creds->type = QTYPE_QSTRING; in hmp_migrate_set_parameter()
570 visit_type_str(v, param, &p->tls_creds->u.s, &err); in hmp_migrate_set_parameter()
/openbmc/qemu/chardev/
H A Dchar-socket.c812 s->ioc, s->tls_creds, in tcp_chr_tls_init()
817 s->ioc, s->tls_creds, in tcp_chr_tls_init()
877 if (s->tls_creds) { in tcp_chr_new_client()
1078 if (s->tls_creds) { in char_socket_finalize()
1263 if (sock->tls_creds && in qmp_chardev_validate_socket()
1273 if (sock->tls_creds) { in qmp_chardev_validate_socket()
1285 if (sock->tls_creds) { in qmp_chardev_validate_socket()
1347 if (sock->tls_creds) { in qmp_chardev_open_socket()
1353 sock->tls_creds); in qmp_chardev_open_socket()
1359 if (!s->tls_creds) { in qmp_chardev_open_socket()
[all …]
/openbmc/qemu/include/chardev/
H A Dchar-socket.h55 QCryptoTLSCreds *tls_creds; member
/openbmc/qemu/include/block/
H A Dnbd.h415 void nbd_server_start(SocketAddress *addr, const char *tls_creds,