]> git.proxmox.com Git - mirror_qemu.git/commit - hmp.c
migration: Clean up around tls_creds, tls_hostname
authorMarkus Armbruster <armbru@redhat.com>
Tue, 18 Jul 2017 10:04:54 +0000 (12:04 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 24 Jul 2017 11:35:11 +0000 (13:35 +0200)
commit8cc99dcdc264bc896926e43e7576c7b7ab633d70
treeac58d5ec3a45d88f79008afb025a4c7bba3e1172
parent7e91e82044f8d23acfb9949a2cdd667a6b239acd
migration: Clean up around tls_creds, tls_hostname

Optional MigrationParameters members tls_creds and tls_hostname can't
actually be absent outside qmp_migrate_set_parameters() since commit
4af245d (v2.9.0).

Note that commit 4af245d reverted the part of commit de63ab6 (v2.8.0)
that made tls_creds and tls_hostname absent instead of "" in the value
of query-migrate-parameters, even though commit de63ab6 called that a
mistake.  What a mess.

Drop the redundant tests for presence, and update documentation.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
hmp.c
migration/migration.c
qapi-schema.json