aboutsummaryrefslogtreecommitdiff
path: root/migration/ram.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2022-02-22 21:02:03 +0100
committerJuan Quintela <quintela@redhat.com>2022-12-15 10:30:37 +0100
commit26a2606916781dc83d375bda439290d7baa80498 (patch)
tree39944631d450f9c13a90d34216d0c85f9d7b762c /migration/ram.h
parentd6f45eba2bb1dbf48c05adcf3e14040b913d2085 (diff)
migration: Export ram_transferred_ram()
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: David Edmondson <david.edmondson@oracle.com> Reviewed-by: Leonardo Bras <leobras@redhat.com>
Diffstat (limited to 'migration/ram.h')
-rw-r--r--migration/ram.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/migration/ram.h b/migration/ram.h
index c7af65ac74..e844966f69 100644
--- a/migration/ram.h
+++ b/migration/ram.h
@@ -65,6 +65,8 @@ 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);
+
int ramblock_recv_bitmap_test(RAMBlock *rb, void *host_addr);
bool ramblock_recv_bitmap_test_byte_offset(RAMBlock *rb, uint64_t byte_offset);
void ramblock_recv_bitmap_set(RAMBlock *rb, void *host_addr);