[PATCH 0/2] qemu: migration: show disks stats for nbd migration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Current migration stats will show something like [1] when in
the process of mirroring of non shared disks. This gives very
little info on the migration progress. Likewise completed stats miss
disks mirroring info.

This patch provides disks stats in the said phase like in [2] so 
user can now understand what's going on. However data stats miss
memory stats, so data total and remaining will change when memory
migration starts.

AFAIU disks stats were available before the nbd based migration
becomes the default. So this patch returns disks stats back at
some level.

Patch 1 is just a little cleanup. Removed code uses qemuMigrationFetchJobStatus
so the patch 1 helps analysis of the patch 2.

  [1]
Job type:         Unbounded   
Time elapsed:     4964         ms

  [2]
Job type:         Unbounded   
Time elapsed:     4964         ms
Data processed:   146.000 MiB
Data remaining:   854.000 MiB
Data total:       1000.000 MiB
File processed:   146.000 MiB
File remaining:   854.000 MiB
File total:       1000.000 MiB

Nikolay Shirokovskiy (2):
  qemu: clean out unused migrate to unix
  qemu: migration: show disks stats for nbd migration

 docs/news.html.in         |   4 ++
 src/qemu/qemu_driver.c    |   5 +-
 src/qemu/qemu_migration.c | 128 +++++++++++++++++++++++++++++-----------------
 src/qemu/qemu_migration.h |   3 +-
 src/qemu/qemu_monitor.c   |  24 ---------
 src/qemu/qemu_monitor.h   |   4 --
 6 files changed, 90 insertions(+), 78 deletions(-)

-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux