[libvirt] [PATCH v4 00/12] Implement query-dump command

John Ferlan posted 12 patches 6 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20180201232443.13923-1-jferlan@redhat.com
There is a newer version of this series
docs/news.xml                                      |  11 ++
src/qemu/qemu_capabilities.c                       |   2 +
src/qemu/qemu_capabilities.h                       |   1 +
src/qemu/qemu_domain.c                             | 127 ++++++++++++--
src/qemu/qemu_domain.h                             |  17 +-
src/qemu/qemu_driver.c                             | 183 ++++++++++++++++++---
src/qemu/qemu_migration.c                          |  13 +-
src/qemu/qemu_migration_cookie.c                   |   4 +-
src/qemu/qemu_monitor.c                            |  38 ++++-
src/qemu/qemu_monitor.h                            |  37 ++++-
src/qemu/qemu_monitor_json.c                       | 103 +++++++++++-
src/qemu/qemu_monitor_json.h                       |   6 +-
src/qemu/qemu_process.c                            |  42 ++++-
.../caps_2.10.0-gicv2.aarch64.xml                  |   1 +
.../caps_2.10.0-gicv3.aarch64.xml                  |   1 +
tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml   |   1 +
tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml   |   1 +
tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml  |   1 +
.../caps_2.6.0-gicv2.aarch64.xml                   |   1 +
.../caps_2.6.0-gicv3.aarch64.xml                   |   1 +
tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml    |   1 +
tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml   |   1 +
tests/qemucapabilitiesdata/caps_2.7.0.s390x.xml    |   1 +
tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml   |   1 +
tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml    |   1 +
tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml   |   1 +
tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml    |   1 +
tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml    |   1 +
tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml   |   1 +
tests/qemumonitorjsontest.c                        |   3 +-
30 files changed, 548 insertions(+), 55 deletions(-)
[libvirt] [PATCH v4 00/12] Implement query-dump command
Posted by John Ferlan 6 years, 2 months ago
v3: https://www.redhat.com/archives/libvir-list/2018-January/msg01047.html

Changes since v3:

 * Reorder patches, moved the "setup" patches to the first few patches
   and the meat-n-potatoes starting at patch 4 which is "new"-ish having
   been extracted from other patches to set up the buffers that the event
   will need.

 * Rather than allocating a dump buffer, use the stack variables
   and the jobinfo stats buffer.

 "Force tested" the failure to parse the stats error just to be sure
 it got propagated.

John Ferlan (12):
  qemu: Introduce qemuDomainGetJobInfoMigrationStats
  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 dump completed event to the capabilities
  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_capabilities.c                       |   2 +
 src/qemu/qemu_capabilities.h                       |   1 +
 src/qemu/qemu_domain.c                             | 127 ++++++++++++--
 src/qemu/qemu_domain.h                             |  17 +-
 src/qemu/qemu_driver.c                             | 183 ++++++++++++++++++---
 src/qemu/qemu_migration.c                          |  13 +-
 src/qemu/qemu_migration_cookie.c                   |   4 +-
 src/qemu/qemu_monitor.c                            |  38 ++++-
 src/qemu/qemu_monitor.h                            |  37 ++++-
 src/qemu/qemu_monitor_json.c                       | 103 +++++++++++-
 src/qemu/qemu_monitor_json.h                       |   6 +-
 src/qemu/qemu_process.c                            |  42 ++++-
 .../caps_2.10.0-gicv2.aarch64.xml                  |   1 +
 .../caps_2.10.0-gicv3.aarch64.xml                  |   1 +
 tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml   |   1 +
 tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml   |   1 +
 tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml  |   1 +
 .../caps_2.6.0-gicv2.aarch64.xml                   |   1 +
 .../caps_2.6.0-gicv3.aarch64.xml                   |   1 +
 tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml    |   1 +
 tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml   |   1 +
 tests/qemucapabilitiesdata/caps_2.7.0.s390x.xml    |   1 +
 tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml   |   1 +
 tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml    |   1 +
 tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml   |   1 +
 tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml    |   1 +
 tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml    |   1 +
 tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml   |   1 +
 tests/qemumonitorjsontest.c                        |   3 +-
 30 files changed, 548 insertions(+), 55 deletions(-)

-- 
2.13.6

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