mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
migration: Create migrate_tls_authz() function
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> --- Moved the type to const char * (vladimir)
This commit is contained in:
parent
d5c3e1959c
commit
2eb0308bbd
3 changed files with 9 additions and 4 deletions
|
@ -86,10 +86,7 @@ void migration_tls_channel_process_incoming(MigrationState *s,
|
|||
return;
|
||||
}
|
||||
|
||||
tioc = qio_channel_tls_new_server(
|
||||
ioc, creds,
|
||||
s->parameters.tls_authz,
|
||||
errp);
|
||||
tioc = qio_channel_tls_new_server(ioc, creds, migrate_tls_authz(), errp);
|
||||
if (!tioc) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue