/qemu/migration/ |
H A D | tls.c | 118 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 D | socket.c | 65 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 D | channel.c | 64 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 D | tls.h | 32 const char *hostname, 37 const char *hostname,
|
H A D | channel.h | 25 const char *hostname,
|
H A D | trace-events | 147 …_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 D | tlssession.c | 40 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 D | trace-events | 22 …sion, void *creds, const char *hostname, const char *authzid, int endpoint) "TLS session new sessi…
|
/qemu/tests/qemu-iotests/ |
H A D | 233.out | 44 == 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 D | 233 | 124 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 D | crypto-tls-x509-helpers.h | 155 hostname, ipaddr) \ argument 158 .cn = hostname ? hostname : ipaddr, \ 159 .altname1 = hostname, \
|
H A D | test-io-channel-tls.c | 47 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 D | test-crypto-tlssession.c | 180 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 D | socket-helpers.c | 41 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 D | qemu-nbd.rst | 171 .. 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 D | client.c | 619 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 D | tut.dot | 2 graph [hostidtype="hostname", version="1:0", date="04/12/2013"];
|
/qemu/include/ui/ |
H A D | qemu-spice.h | 34 int qemu_spice_migrate_info(const char *hostname, int port, int tls_port,
|
/qemu/qga/ |
H A D | commands.c | 561 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 D | channel-tls.h | 111 const char *hostname,
|
/qemu/io/ |
H A D | channel-tls.c | 109 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 D | tlssession.h | 149 const char *hostname,
|
/qemu/ui/ |
H A D | ui-qmp-cmds.c | 187 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 D | nbd.h | 384 const char *hostname, QIOChannel **outioc, 388 const char *hostname, NBDExportInfo **info,
|
/qemu/tests/vm/ |
H A D | centos-8-aarch64.ks | 25 network --hostname=localhost.localdomain
|