aboutsummaryrefslogtreecommitdiff
path: root/migration/options.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2023-05-04 13:38:33 +0200
committerJuan Quintela <quintela@redhat.com>2023-05-05 01:04:33 +0200
commit520333490a3c082a8f65f572042637543c4bf148 (patch)
tree8934d2f7a038c17bf16433a3b0fa17d564d61ed8 /migration/options.c
parentcd01a602312ac02aed9aba4ef73b8b890274094c (diff)
migration: max_postcopy_bandwidth is a size parameter
So make everything that uses it uint64_t no int64_t. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20230504113841.23130-2-quintela@redhat.com>
Diffstat (limited to 'migration/options.c')
-rw-r--r--migration/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/options.c b/migration/options.c
index 7395787960..2e759cc306 100644
--- a/migration/options.c
+++ b/migration/options.c
@@ -717,7 +717,7 @@ uint64_t migrate_max_bandwidth(void)
return s->parameters.max_bandwidth;
}
-int64_t migrate_max_postcopy_bandwidth(void)
+uint64_t migrate_max_postcopy_bandwidth(void)
{
MigrationState *s = migrate_get_current();