Home
last modified time | relevance | path

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

123

/qemu/migration/
H 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()
H A Dsocket.c65 char *hostname; member
74 g_free(data->hostname); in socket_connect_data_free()
90 trace_migration_socket_outgoing_connected(data->hostname); in socket_outgoing_migration()
98 migration_channel_connect(data->s, sioc, data->hostname, err); in socket_outgoing_migration()
117 data->hostname = g_strdup(saddr->u.inet.host); in socket_start_outgoing_migration()
H 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()
H A Dtls.h32 const char *hostname,
37 const char *hostname,
H A Dchannel.h25 const char *hostname,
H A Dtrace-events147 …_outgoing_handshake_start(void *ioc, void *tioc, const char *hostname) "ioc=%p tioc=%p hostname=%s"
150 …oing_channel(void *ioc, const char *ioctype, const char *hostname) "ioc=%p ioctype=%s hostname=%s"
200 …channel(void *ioc, const char *ioctype, const char *hostname, void *err) "ioc=%p ioctype=%s hostn…
324 migration_socket_outgoing_connected(const char *hostname) "hostname=%s"
328 migration_tls_outgoing_handshake_start(const char *hostname) "hostname=%s"
/qemu/crypto/
H A Dtlssession.c40 char *hostname; member
58 g_free(session->hostname); in qcrypto_tls_session_free()
98 const char *hostname, in qcrypto_tls_session_new() argument
108 session, creds, hostname ? hostname : "<none>", in qcrypto_tls_session_new()
111 if (hostname) { in qcrypto_tls_session_new()
112 session->hostname = g_strdup(hostname); in qcrypto_tls_session_new()
369 if (session->hostname) { in qcrypto_tls_session_check_certificate()
370 if (!gnutls_x509_crt_check_hostname(cert, session->hostname)) { in qcrypto_tls_session_check_certificate()
373 session->hostname); in qcrypto_tls_session_check_certificate()
570 const char *hostname G_GNUC_UNUSED, in qcrypto_tls_session_new()
H A Dtrace-events22 …sion, void *creds, const char *hostname, const char *authzid, int endpoint) "TLS session new sessi…
/qemu/tests/qemu-iotests/
H 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 ==
H 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/tests/unit/
H A Dcrypto-tls-x509-helpers.h155 hostname, ipaddr) \ argument
158 .cn = hostname ? hostname : ipaddr, \
159 .altname1 = hostname, \
H 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()
H A Dtest-crypto-tlssession.c180 const char *hostname; member
301 clientCreds, data->hostname, NULL, in test_crypto_tls_session_x509()
414 hostname, wildcards) \ in main() argument
418 hostname, wildcards \ in main()
427 hostname, wildcards) \ in main() argument
431 hostname, wildcards \ in main()
H 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/docs/tools/
H 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/
H 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/
H A Dtut.dot2 graph [hostidtype="hostname", version="1:0", date="04/12/2013"];
/qemu/include/ui/
H A Dqemu-spice.h34 int qemu_spice_migrate_info(const char *hostname, int port, int tls_port,
/qemu/qga/
H A Dcommands.c561 g_autofree char *hostname = qga_get_host_name(errp); in qmp_guest_get_host_name() local
569 if (!hostname) { in qmp_guest_get_host_name()
570 hostname = g_strdup("localhost"); in qmp_guest_get_host_name()
574 result->host_name = g_steal_pointer(&hostname); in qmp_guest_get_host_name()
/qemu/include/io/
H A Dchannel-tls.h111 const char *hostname,
/qemu/io/
H A Dchannel-tls.c109 const char *hostname, in qio_channel_tls_new_client() argument
126 hostname, in qio_channel_tls_new_client()
140 trace_qio_channel_tls_new_client(tioc, master, creds, hostname); in qio_channel_tls_new_client()
/qemu/include/crypto/
H A Dtlssession.h149 const char *hostname,
/qemu/ui/
H 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/
H A Dnbd.h384 const char *hostname, QIOChannel **outioc,
388 const char *hostname, NBDExportInfo **info,
/qemu/tests/vm/
H A Dcentos-8-aarch64.ks25 network --hostname=localhost.localdomain

123