summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Yang2019-09-12 04:49:57 +0200
committerDr. David Alan Gilbert2019-09-12 12:25:06 +0200
commit268dcd46ae6d608a4ce93b191b51a318504bf1fb (patch)
tree9c1e987db72235f9b9658cde58ccd1aee05f0438
parentmigration/qemu-file: fix potential buf waste for extra buf_index adjustment (diff)
downloadqemu-268dcd46ae6d608a4ce93b191b51a318504bf1fb.tar.gz
qemu-268dcd46ae6d608a4ce93b191b51a318504bf1fb.tar.xz
qemu-268dcd46ae6d608a4ce93b191b51a318504bf1fb.zip
migration: fix one typo in comment of function migration_total_bytes()
Signed-off-by: Wei Yang <richardw.yang@linux.intel.com> Message-Id: <20190912024957.11780-1-richardw.yang@linux.intel.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
-rw-r--r--migration/migration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/migration.c b/migration/migration.c
index e45270c23b..01863a95f5 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -3025,7 +3025,7 @@ static MigThrError migration_detect_error(MigrationState *s)
}
}
-/* How many bytes have we transferred since the beggining of the migration */
+/* How many bytes have we transferred since the beginning of the migration */
static uint64_t migration_total_bytes(MigrationState *s)
{
return qemu_ftell(s->to_dst_file) + ram_counters.multifd_bytes;