Re: [PATCH 02/12] qemu_file: Use a stat64 for qemu_file_transferred

2023-10-25 Thread Juan Quintela
Eric Blake wrote: > On Tue, Oct 24, 2023 at 05:10:32PM +0200, Juan Quintela wrote: >> This way we can read it from any thread. >> I checked that it gives the same value than the current one. We never > > s/than/as/ Done >> use to qemu_files at the same time. > > s/to/two/ Done Thanks.

Re: [PATCH 02/12] qemu_file: Use a stat64 for qemu_file_transferred

2023-10-24 Thread Eric Blake
On Tue, Oct 24, 2023 at 05:10:32PM +0200, Juan Quintela wrote: > This way we can read it from any thread. > I checked that it gives the same value than the current one. We never s/than/as/ > use to qemu_files at the same time. s/to/two/ > > Signed-off-by: Juan Quintela > --- > migration/mig

Re: [PATCH 02/12] qemu_file: Use a stat64 for qemu_file_transferred

2023-10-24 Thread Fabiano Rosas
Juan Quintela writes: > This way we can read it from any thread. > I checked that it gives the same value than the current one. We never > use to qemu_files at the same time. > > Signed-off-by: Juan Quintela Reviewed-by: Fabiano Rosas

[PATCH 02/12] qemu_file: Use a stat64 for qemu_file_transferred

2023-10-24 Thread Juan Quintela
This way we can read it from any thread. I checked that it gives the same value than the current one. We never use to qemu_files at the same time. Signed-off-by: Juan Quintela --- migration/migration-stats.h | 4 migration/qemu-file.c | 5 +++-- 2 files changed, 7 insertions(+), 2 de