diff options
author | Daniel P. Berrangé | 2022-03-10 18:18:09 +0100 |
---|---|---|
committer | Dr. David Alan Gilbert | 2022-04-21 20:36:46 +0200 |
commit | 4b2bbca7a0b58475d7ffb2fea05adbe08cde57f8 (patch) | |
tree | 0a4870e0dcac5d50f1acca1214f9d373e6ffcd91 /tests/qtest | |
parent | tests: print newline after QMP response in qtest logs (diff) | |
download | qemu-4b2bbca7a0b58475d7ffb2fea05adbe08cde57f8.tar.gz qemu-4b2bbca7a0b58475d7ffb2fea05adbe08cde57f8.tar.xz qemu-4b2bbca7a0b58475d7ffb2fea05adbe08cde57f8.zip |
migration: fix use of TLS PSK credentials with a UNIX socket
The migration TLS code has a check mandating that a hostname be
available when starting a TLS session. This is expected when using
x509 credentials, but is bogus for PSK and anonymous credentials
as neither involve hostname validation.
The TLS crdentials object gained suitable error reporting in the
case of TLS with x509 credentials, so there is no longer any need
for the migration code to do its own (incorrect) validation.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220310171821.3724080-7-berrange@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'tests/qtest')
0 files changed, 0 insertions, 0 deletions