[libvirt] [PATCH v5 00/10] Implement query-dump command

John Ferlan jferlan at redhat.com
Fri Feb 2 22:40:08 UTC 2018


v4: https://www.redhat.com/archives/libvir-list/2018-February/msg00073.html

Changes since v4

 * Pushed patches 1 and 9 since both were R-B'd and separable

 * Added R-B to patch commit messages for those patches w/ R-B

 * Modify the s.migStats and s.dumpStats to stats.mig and stats.dump

 * Use stack variable to copy stats into rather than VIR_ALLOC buffer
   and copy the query-stats into the jobinfo stats.mig

 * Altered qemuDomainJobInfoToInfo / QEMU_DOMAIN_JOB_STATS_TYPE_SAVEDUMP
   to not save file*

 * Altered qemuDomainMigrationJobInfoToParams to goto done once starting
   to process disk, mirror, and migration specific stats

 * Cleaned up a couple of stray nits left along the way

 * Initialize stats = { 0 }; in qemuDomainGetJobInfoDumpStats


John Ferlan (10):
  qemu: Convert jobInfo stats into a union
  qemu: Introduce QEMU_DOMAIN_JOB_STATS_TYPE_SAVEDUMP
  qemu: Introduce QEMU_DOMAIN_JOB_STATS_TYPE_MEMDUMP
  qemu: Add support for DUMP_COMPLETED event
  qemu: Introduce qemuProcessHandleDumpCompleted
  qemu: Introduce qemuMonitor[JSON]QueryDump
  qemu: Introduce qemuDomainGetJobInfoDumpStats
  qemu: Add new parameter to qemuMonitorDumpToFd
  qemu: Allow showing the dump progress for memory only dump
  docs: Add news article for query memory-only dump processing
    percentage

 docs/news.xml                    |  11 +++
 src/qemu/qemu_domain.c           | 128 ++++++++++++++++++++++++++++++-----
 src/qemu/qemu_domain.h           |  15 ++++-
 src/qemu/qemu_driver.c           | 142 ++++++++++++++++++++++++++++++++++++---
 src/qemu/qemu_migration.c        |  13 ++--
 src/qemu/qemu_migration_cookie.c |   4 +-
 src/qemu/qemu_monitor.c          |  38 ++++++++++-
 src/qemu/qemu_monitor.h          |  38 ++++++++++-
 src/qemu/qemu_monitor_json.c     | 103 +++++++++++++++++++++++++++-
 src/qemu/qemu_monitor_json.h     |   6 +-
 src/qemu/qemu_process.c          |  42 +++++++++++-
 tests/qemumonitorjsontest.c      |   3 +-
 12 files changed, 501 insertions(+), 42 deletions(-)

-- 
2.13.6




More information about the libvir-list mailing list