diff options
| author | Juan Quintela <quintela@redhat.com> | 2023-10-25 11:11:11 +0200 |
|---|---|---|
| committer | Juan Quintela <quintela@redhat.com> | 2023-10-31 08:44:33 +0100 |
| commit | e9c0eed7c2c20f65904ffb33fc7b47a229ed5106 (patch) | |
| tree | b23b41eecd7e2146516ef7345d1558630b414b9d /migration/qemu-file.h | |
| parent | e833cad7e7ed4ee2b48237ff1a6a4ee95280b6ac (diff) | |
| download | focaccia-qemu-e9c0eed7c2c20f65904ffb33fc7b47a229ed5106.tar.gz focaccia-qemu-e9c0eed7c2c20f65904ffb33fc7b47a229ed5106.zip | |
qemu-file: Remove _noflush from qemu_file_transferred_noflush()
qemu_file_transferred() don't exist anymore, so we can reuse the name. Reviewed-by: Fabiano Rosas <farosas@suse.de> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-ID: <20231025091117.6342-7-quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/qemu-file.h')
| -rw-r--r-- | migration/qemu-file.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/migration/qemu-file.h b/migration/qemu-file.h index 8b71152754..1b2f6b8d8f 100644 --- a/migration/qemu-file.h +++ b/migration/qemu-file.h @@ -34,15 +34,14 @@ 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 - * is performed and the reported amount will include the size of any - * queued buffers, on top of the amount actually transferred. + * No flush is performed and the reported amount will include the size + * of any queued buffers, on top of the amount actually transferred. * * Returns: the total bytes transferred and queued */ -uint64_t qemu_file_transferred_noflush(QEMUFile *f); +uint64_t qemu_file_transferred(QEMUFile *f); /* * put_buffer without copying the buffer. |