mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
migration: Create migrate_tls_creds() 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:
@ -582,6 +582,13 @@ uint8_t migrate_throttle_trigger_threshold(void)
|
||||
return s->parameters.throttle_trigger_threshold;
|
||||
}
|
||||
|
||||
const char *migrate_tls_creds(void)
|
||||
{
|
||||
MigrationState *s = migrate_get_current();
|
||||
|
||||
return s->parameters.tls_creds;
|
||||
}
|
||||
|
||||
uint64_t migrate_xbzrle_cache_size(void)
|
||||
{
|
||||
MigrationState *s = migrate_get_current();
|
||||
|
Reference in New Issue
Block a user