summary refs log tree commit diff stats
path: root/migration-unix.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2009-11-30 18:21:21 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 10:48:53 -0600
commit82801d8f4f3fa7413647495d9823fb3144c31ddc (patch)
treef943b9256415604e81348dd85cf48a2d70e6cd16 /migration-unix.c
parent4ec7fcc7da214d48d39b63fd2c6a4d19ac42ae04 (diff)
downloadfocaccia-qemu-82801d8f4f3fa7413647495d9823fb3144c31ddc.tar.gz
focaccia-qemu-82801d8f4f3fa7413647495d9823fb3144c31ddc.zip
block migration: Report overall migration progress
So far progress reporting only works for the first block device. Fix
this by keeping an overall sum of sectors to be migratated, calculating
the sum of all processed sectors, and finally basing the progress
display on those values.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'migration-unix.c')
0 files changed, 0 insertions, 0 deletions