migration: Export ram_release_page()
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Leonardo Bras <leobras@redhat.com>
This commit is contained in:
parent
26a2606916
commit
a4dbaf8eed
@ -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;
|
||||
|
@ -66,6 +66,7 @@ int ram_load_postcopy(QEMUFile *f, int channel);
|
||||
void ram_handle_compressed(void *host, uint8_t ch, uint64_t size);
|
||||
|
||||
void ram_transferred_add(uint64_t bytes);
|
||||
void ram_release_page(const char *rbname, uint64_t offset);
|
||||
|
||||
int ramblock_recv_bitmap_test(RAMBlock *rb, void *host_addr);
|
||||
bool ramblock_recv_bitmap_test_byte_offset(RAMBlock *rb, uint64_t byte_offset);
|
||||
|
Loading…
Reference in New Issue
Block a user