On Tue, 2022-08-02 at 08:38 +0200, Juan Quintela wrote: > Signed-off-by: Juan Quintela <quint...@redhat.com> > Reviewed-by: Dr. David Alan Gilbert <dgilb...@redhat.com> > Reviewed-by: David Edmondson <david.edmond...@oracle.com> > Signed-off-by: Juan Quintela <quint...@redhat.com>
Is this doubled Signed-off-by intentional? > --- > migration/ram.h | 2 ++ > migration/ram.c | 2 +- > 2 files changed, 3 insertions(+), 1 deletion(-) > > 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); > diff --git a/migration/ram.c b/migration/ram.c > index b94669ba5d..85d89d61ac 100644 > --- a/migration/ram.c > +++ b/migration/ram.c > @@ -422,7 +422,7 @@ uint64_t ram_bytes_remaining(void) > > MigrationStats ram_counters; > > -static void ram_transferred_add(uint64_t bytes) > +void ram_transferred_add(uint64_t bytes) > { > if (runstate_is_running()) { > ram_counters.precopy_bytes += bytes; Other than that, FWIW: Reviewed-by: Leonardo Bras <leob...@redhat.com> Best regards, Leo