diff options
| author | Peter Xu | 2018-01-03 13:20:13 +0100 |
|---|---|---|
| committer | Juan Quintela | 2018-01-15 12:48:10 +0100 |
| commit | b15df1ae5063c7c181f8f068f9eba7661b3b5e1c (patch) | |
| tree | fb418779d4259636b041fa4acde9e8222a5671a0 /include/exec/exec-all.h | |
| parent | migration: use switch at the end of migration (diff) | |
| download | qemu-b15df1ae5063c7c181f8f068f9eba7661b3b5e1c.tar.gz qemu-b15df1ae5063c7c181f8f068f9eba7661b3b5e1c.tar.xz qemu-b15df1ae5063c7c181f8f068f9eba7661b3b5e1c.zip | |
migration: cleanup stats update into function
We have quite a few lines in migration_thread() that calculates some
statistics for the migration interations. Isolate it into a single
function to improve readability.
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
