diff options
author | Juan Quintela <quintela@redhat.com> | 2023-05-04 13:38:39 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-05-05 02:01:59 +0200 |
commit | 61abf1ebdcddafdb62ba6784e04c573ae6beace6 (patch) | |
tree | ccef55c399d6db17f8b383257aff86024d9570f8 /migration/vmstate.c | |
parent | ac7d25b8163cfd16604cd7d92135dd14713d084b (diff) |
qemu-file: Make total_transferred an uint64_t
Change all the functions that use it. It was already passed as
uint64_t.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230504113841.23130-8-quintela@redhat.com>
Diffstat (limited to 'migration/vmstate.c')
-rw-r--r-- | migration/vmstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/vmstate.c b/migration/vmstate.c index 83ca4c7d3e..351f56104e 100644 --- a/migration/vmstate.c +++ b/migration/vmstate.c @@ -349,7 +349,7 @@ int vmstate_save_state_v(QEMUFile *f, const VMStateDescription *vmsd, void *first_elem = opaque + field->offset; int i, n_elems = vmstate_n_elems(opaque, field); int size = vmstate_size(opaque, field); - int64_t old_offset, written_bytes; + uint64_t old_offset, written_bytes; JSONWriter *vmdesc_loop = vmdesc; trace_vmstate_save_state_loop(vmsd->name, field->name, n_elems); |