mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33: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
|
@ -582,6 +582,13 @@ uint8_t migrate_throttle_trigger_threshold(void)
|
|||
return s->parameters.throttle_trigger_threshold;
|
||||
}
|
||||
|
||||
const char *migrate_tls_authz(void)
|
||||
{
|
||||
MigrationState *s = migrate_get_current();
|
||||
|
||||
return s->parameters.tls_authz;
|
||||
}
|
||||
|
||||
const char *migrate_tls_creds(void)
|
||||
{
|
||||
MigrationState *s = migrate_get_current();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue