From d5c3e1959cbabe9456bf1d5860ad718c6cd27fb8 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Thu, 2 Mar 2023 12:17:06 +0100 Subject: migration: Create migrate_tls_creds() function Signed-off-by: Juan Quintela Reviewed-by: Vladimir Sementsov-Ogievskiy --- Moved the type to const char * (vladimir) --- migration/options.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'migration/options.c') diff --git a/migration/options.c b/migration/options.c index da99c6298f..b5d4ebef8d 100644 --- a/migration/options.c +++ b/migration/options.c @@ -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(); -- cgit v1.2.3