Fabiano Rosas <faro...@suse.de> wrote: > Juan Quintela <quint...@redhat.com> writes: > >> qemu_file_transferred() don't exist anymore, so we can reuse the name. >> >> Signed-off-by: Juan Quintela <quint...@redhat.com> >> --- >> migration/qemu-file.h | 4 ++-- >> migration/block.c | 4 ++-- >> migration/qemu-file.c | 2 +- >> migration/savevm.c | 6 +++--- >> migration/vmstate.c | 4 ++-- >> 5 files changed, 10 insertions(+), 10 deletions(-) >> >> diff --git a/migration/qemu-file.h b/migration/qemu-file.h >> index b4fb872018..3575dfa5ff 100644 >> --- a/migration/qemu-file.h >> +++ b/migration/qemu-file.h >> @@ -34,7 +34,7 @@ QEMUFile *qemu_file_new_output(QIOChannel *ioc); >> int qemu_fclose(QEMUFile *f); >> >> /* >> - * qemu_file_transferred_noflush: >> + * qemu_file_transferred: >> * >> * As qemu_file_transferred except for writable files, where no flush > > Docs need updating^
Fixed, thanks. >> * is performed and the reported amount will include the size of any >> @@ -42,7 +42,7 @@ int qemu_fclose(QEMUFile *f); >> * >> * Returns: the total bytes transferred and queued >> */ >> -uint64_t qemu_file_transferred_noflush(QEMUFile *f); >> +uint64_t qemu_file_transferred(QEMUFile *f);