Home
last modified time | relevance | path

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

123

/qemu/migration/
A Dtls.c118 const char *hostname, in migration_tls_client_create() argument
130 hostname = tls_hostname; in migration_tls_client_create()
133 return qio_channel_tls_new_client(ioc, creds, hostname, errp); in migration_tls_client_create()
138 const char *hostname, in migration_tls_channel_connect() argument
143 tioc = migration_tls_client_create(ioc, hostname, errp); in migration_tls_channel_connect()
149 s->hostname = g_strdup(hostname); in migration_tls_channel_connect()
150 trace_migration_tls_outgoing_handshake_start(hostname); in migration_tls_channel_connect()
A Dsocket.c47 char *hostname; member
56 g_free(data->hostname); in socket_connect_data_free()
72 trace_migration_socket_outgoing_connected(data->hostname); in socket_outgoing_migration()
80 migration_channel_connect(data->s, sioc, data->hostname, err); in socket_outgoing_migration()
99 data->hostname = g_strdup(saddr->u.inet.host); in socket_start_outgoing_migration()
A Dchannel.c64 const char *hostname, in migration_channel_connect() argument
68 ioc, object_get_typename(OBJECT(ioc)), hostname, error); in migration_channel_connect()
72 migration_tls_channel_connect(s, ioc, hostname, &error); in migration_channel_connect()
A Dtls.h32 const char *hostname,
37 const char *hostname,
A Dchannel.h25 const char *hostname,
A Dtrace-events149 …_outgoing_handshake_start(void *ioc, void *tioc, const char *hostname) "ioc=%p tioc=%p hostname=%s"
152 …oing_channel(void *ioc, const char *ioctype, const char *hostname) "ioc=%p ioctype=%s hostname=%s"
202 …channel(void *ioc, const char *ioctype, const char *hostname, void *err) "ioc=%p ioctype=%s hostn…
326 migration_socket_outgoing_connected(const char *hostname) "hostname=%s"
330 migration_tls_outgoing_handshake_start(const char *hostname) "hostname=%s"
A Dmultifd.c704 const char *hostname = s->hostname; in multifd_tls_channel_connect() local
708 tioc = migration_tls_client_create(ioc, hostname, errp); in multifd_tls_channel_connect()
718 trace_multifd_tls_outgoing_handshake_start(ioc, tioc, hostname); in multifd_tls_channel_connect()
766 migrate_get_current()->hostname); in multifd_new_send_channel_async()
/qemu/crypto/
A Dtlssession.c40 char *hostname; member
68 g_free(session->hostname); in qcrypto_tls_session_free()
134 const char *hostname, in qcrypto_tls_session_new() argument
144 session, creds, hostname ? hostname : "<none>", in qcrypto_tls_session_new()
147 if (hostname) { in qcrypto_tls_session_new()
148 session->hostname = g_strdup(hostname); in qcrypto_tls_session_new()
405 if (session->hostname) { in qcrypto_tls_session_check_certificate()
406 if (!gnutls_x509_crt_check_hostname(cert, session->hostname)) { in qcrypto_tls_session_check_certificate()
409 session->hostname); in qcrypto_tls_session_check_certificate()
621 const char *hostname G_GNUC_UNUSED, in qcrypto_tls_session_new()
A Dtrace-events22 …sion, void *creds, const char *hostname, const char *authzid, int endpoint) "TLS session new sessi…
/qemu/tests/unit/
A Dcrypto-tls-x509-helpers.h160 hostname, ipaddr) \ argument
163 .cn = hostname ? hostname : ipaddr, \
164 .altname1 = hostname, \
A Dtest-io-channel-tls.c47 const char *hostname; member
193 data->hostname, &error_abort); in test_io_channel_tls()
283 hostname, wildcards) \ in main() argument
287 hostname, wildcards \ in main()
A Dtest-crypto-tlssession.c202 const char *hostname; member
323 clientCreds, data->hostname, NULL, in test_crypto_tls_session_x509()
436 hostname, wildcards) \ in main() argument
440 hostname, wildcards \ in main()
449 hostname, wildcards) \ in main() argument
453 hostname, wildcards \ in main()
A Dsocket-helpers.c41 static int socket_can_bind_connect(const char *hostname, int family) in socket_can_bind_connect() argument
59 rc = getaddrinfo(hostname, NULL, &ai, &res); in socket_can_bind_connect()
/qemu/tests/qemu-iotests/
A D233.out44 == check TLS fail over TCP with mismatched hostname ==
45 …ver=nbd,host=localhost,port=PORT,tls-creds=tls0': Certificate does not match the hostname localhost
46 qemu-nbd: Certificate does not match the hostname localhost
48 == check TLS works over TCP with mismatched hostname and override ==
75 == check TLS fail over UNIX with no hostname ==
76 qemu-img: Could not open 'driver=nbd,path=SOCK_DIR/qemu-nbd.sock,tls-creds=tls0': No hostname for c…
77 qemu-nbd: No hostname for certificate validation
79 == check TLS works over UNIX with hostname override ==
A D233124 driver=nbd,host=localhost,port=$nbd_tcp_port,tls-creds=tls0,tls-hostname=127.0.0.1 \
127 --tls-creds=tls0 --tls-hostname=127.0.0.1 | _filter_qemu_nbd_exports
191 driver=nbd,path=$nbd_unix_socket,tls-creds=tls0,tls-hostname=127.0.0.1 \
194 --tls-creds=tls0 --tls-hostname=127.0.0.1 2>&1 | _filter_qemu_nbd_exports
/qemu/docs/tools/
A Dqemu-nbd.rst171 .. option:: --tls-hostname=hostname
174 the hostname that the NBD client used to connect will be checked
176 it might be required to override the hostname used to perform this
178 to connect to the remote server, the :option:`--tls-hostname` option should
179 be used to set the officially expected hostname of the remote NBD
181 where there is no inherent hostname available. This is only permitted
/qemu/nbd/
A Dclient.c619 const char *hostname, Error **errp) in nbd_receive_starttls() argument
635 tioc = qio_channel_tls_new_client(ioc, tlscreds, hostname, errp); in nbd_receive_starttls()
901 const char *hostname, QIOChannel **outioc, in nbd_start_negotiate() argument
908 trace_nbd_start_negotiate(tlscreds, hostname ? hostname : "<null>"); in nbd_start_negotiate()
963 *outioc = nbd_receive_starttls(ioc, tlscreds, hostname, errp); in nbd_start_negotiate()
1041 const char *hostname, QIOChannel **outioc, in nbd_receive_negotiate() argument
1052 result = nbd_start_negotiate(ioc, tlscreds, hostname, outioc, in nbd_receive_negotiate()
1163 const char *hostname, NBDExportInfo **info, in nbd_receive_export_list() argument
1175 result = nbd_start_negotiate(ioc, tlscreds, hostname, &sioc, in nbd_receive_export_list()
/qemu/tests/rocker/
A Dtut.dot2 graph [hostidtype="hostname", version="1:0", date="04/12/2013"];
/qemu/include/ui/
A Dqemu-spice.h34 int qemu_spice_migrate_info(const char *hostname, int port, int tls_port,
/qemu/qga/
A Dcommands.c560 g_autofree char *hostname = qga_get_host_name(errp); in qmp_guest_get_host_name() local
568 if (!hostname) { in qmp_guest_get_host_name()
569 hostname = g_strdup("localhost"); in qmp_guest_get_host_name()
573 result->host_name = g_steal_pointer(&hostname); in qmp_guest_get_host_name()
/qemu/include/io/
A Dchannel-tls.h111 const char *hostname,
/qemu/io/
A Dchannel-tls.c110 const char *hostname, in qio_channel_tls_new_client() argument
128 hostname, in qio_channel_tls_new_client()
142 trace_qio_channel_tls_new_client(tioc, master, creds, hostname); in qio_channel_tls_new_client()
/qemu/include/crypto/
A Dtlssession.h150 const char *hostname,
/qemu/ui/
A Dui-qmp-cmds.c187 void qmp_client_migrate_info(const char *protocol, const char *hostname, in qmp_client_migrate_info() argument
203 if (qemu_spice.migrate_info(hostname, in qmp_client_migrate_info()
/qemu/include/block/
A Dnbd.h397 const char *hostname, QIOChannel **outioc,
401 const char *hostname, NBDExportInfo **info,

Completed in 46 milliseconds

123