mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
migration: Fix latent bug in migrate_params_test_apply()
migrate_params_test_apply() neglects to apply tls_authz. Currently harmless, because migrate_params_check() doesn't care. Fix it anyway. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Fabiano Rosas <farosas@suse.de> Message-ID: <20250407072833.2118928-1-armbru@redhat.com> Signed-off-by: Fabiano Rosas <farosas@suse.de>
This commit is contained in:
parent
7d9849c3c4
commit
b407c9e747
1 changed files with 5 additions and 0 deletions
|
@ -1218,6 +1218,11 @@ static void migrate_params_test_apply(MigrateSetParameters *params,
|
|||
dest->tls_hostname = params->tls_hostname->u.s;
|
||||
}
|
||||
|
||||
if (params->tls_authz) {
|
||||
assert(params->tls_authz->type == QTYPE_QSTRING);
|
||||
dest->tls_authz = params->tls_authz->u.s;
|
||||
}
|
||||
|
||||
if (params->has_max_bandwidth) {
|
||||
dest->max_bandwidth = params->max_bandwidth;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue