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 <quint...@redhat.com> > --- > migration/migration-stats.h | 4 ++++ > migration/qemu-file.c | 5 +++-- > 2 files changed, 7 insertions(+), 2 deletions(-) > -- Eric Blake, Principal Software Engineer Red Hat, Inc. Virtualization: qemu.org | libguestfs.org