diff options
author | Juan Quintela <quintela@redhat.com> | 2023-05-15 21:57:07 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-09-29 18:13:36 +0200 |
commit | 9f51fe92392f601a177687bef01a545298cb47e1 (patch) | |
tree | 010e4fff4881e03a077b757858ac5da0adfb19c9 /migration/qemu-file.h | |
parent | 2ebe5d4d5aa4d11f02a2d52fa398a52a6a0dc2ee (diff) | |
download | qemu-9f51fe92392f601a177687bef01a545298cb47e1.zip qemu-9f51fe92392f601a177687bef01a545298cb47e1.tar.gz qemu-9f51fe92392f601a177687bef01a545298cb47e1.tar.bz2 |
migration: Remove unused qemu_file_credit_transfer()
After this change, nothing abuses QEMUFile to account for data
transferrefd during migration.
Reviewed-by: Leonardo Bras <leobras@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20230515195709.63843-15-quintela@redhat.com>
Diffstat (limited to 'migration/qemu-file.h')
-rw-r--r-- | migration/qemu-file.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/migration/qemu-file.h b/migration/qemu-file.h index 47015f5..57b00c8 100644 --- a/migration/qemu-file.h +++ b/migration/qemu-file.h @@ -119,14 +119,6 @@ bool qemu_file_buffer_empty(QEMUFile *file); */ int coroutine_mixed_fn qemu_peek_byte(QEMUFile *f, int offset); void qemu_file_skip(QEMUFile *f, int size); -/* - * qemu_file_credit_transfer: - * - * Report on a number of bytes that have been transferred - * out of band from the main file object I/O methods. This - * accounting information tracks the total migration traffic. - */ -void qemu_file_credit_transfer(QEMUFile *f, size_t size); int qemu_file_get_error_obj_any(QEMUFile *f1, QEMUFile *f2, Error **errp); void qemu_file_set_error_obj(QEMUFile *f, int ret, Error *err); void qemu_file_set_error(QEMUFile *f, int ret); |