aboutsummaryrefslogtreecommitdiff
path: root/migration/ram.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2021-12-16 10:19:38 +0100
committerJuan Quintela <quintela@redhat.com>2022-12-15 10:30:37 +0100
commita4dbaf8eedbb81060ce6963f118442f7aa0ba61e (patch)
tree2b76720ae0f542f97d186403a0fa8c9f58f92de8 /migration/ram.c
parent26a2606916781dc83d375bda439290d7baa80498 (diff)
migration: Export ram_release_page()
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Leonardo Bras <leobras@redhat.com>
Diffstat (limited to 'migration/ram.c')
-rw-r--r--migration/ram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/ram.c b/migration/ram.c
index 2cbe707bfc..8aad17c429 100644
--- a/migration/ram.c
+++ b/migration/ram.c
@@ -1234,7 +1234,7 @@ static void migration_bitmap_sync_precopy(RAMState *rs)
}
}
-static void ram_release_page(const char *rbname, uint64_t offset)
+void ram_release_page(const char *rbname, uint64_t offset)
{
if (!migrate_release_ram() || !migration_in_postcopy()) {
return;