]> git.proxmox.com Git - mirror_qemu.git/commit
qemu_file: Use a stat64 for qemu_file_transferred
authorJuan Quintela <quintela@redhat.com>
Wed, 25 Oct 2023 09:11:07 +0000 (11:11 +0200)
committerJuan Quintela <quintela@redhat.com>
Tue, 31 Oct 2023 07:44:33 +0000 (08:44 +0100)
commit2d897237e01a7ed0dd8b9ac3b3a8234900145350
tree38ba5e4bb447a3526386c947bc19cc69bf514305
parentcc8bf57d56ef22a66711100f5d94861a627e9b9f
qemu_file: Use a stat64 for qemu_file_transferred

This way we can read it from any thread.
I checked that it gives the same value as the current one.  We never
use two qemu_files at the same time.

Reviewed-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231025091117.6342-3-quintela@redhat.com>
migration/migration-stats.h
migration/qemu-file.c