提交 1b8af372 编写于 作者: J Jiri Denemark

Introduce VIR_MIGRATE_PARAM_TLS_DESTINATION migration param

Normally the TLS certificate from the destination host must match the
host's name for TLS verification to succeed. When the certificate does
not match the destination hostname and the expected cetificate's
hostname is known, this parameter can be used to pass this expected
hostname when starting the migration.
Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
上级 cc023b33
...@@ -1051,6 +1051,20 @@ typedef enum { ...@@ -1051,6 +1051,20 @@ typedef enum {
*/ */
# define VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS "parallel.connections" # define VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS "parallel.connections"
/**
* VIR_MIGRATE_PARAM_TLS_DESTINATION:
*
* virDomainMigrate* params field: override the destination host name used for
* TLS verification. As VIR_TYPED_PARAM_STRING.
*
* Normally the TLS certificate from the destination host must match the host's
* name for TLS verification to succeed. When the certificate does not match
* the destination hostname and the expected cetificate's hostname is known,
* this parameter can be used to pass this expected hostname when starting
* the migration.
*/
# define VIR_MIGRATE_PARAM_TLS_DESTINATION "tls.destination"
/* Domain migration. */ /* Domain migration. */
virDomainPtr virDomainMigrate (virDomainPtr domain, virConnectPtr dconn, virDomainPtr virDomainMigrate (virDomainPtr domain, virConnectPtr dconn,
unsigned long flags, const char *dname, unsigned long flags, const char *dname,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册