[PATCH v8 0/4] support dumping guest memory in compressed format

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

 



dumping guest's memory is introduced without compression supported, but now
qemu can dump guest's memory in kdump-compressed format. This patchset is used
to add support in libvirt side to let qemu do the dump in compressed format and
please refer the following address to see implementation of the qemu side, the
lastest version of qemu side is v9.

http://lists.nongnu.org/archive/html/qemu-devel/2014-02/msg03016.html

ChangLog:
Changes from v7 to v8:
1. add test for qemuMonitorGetDumpGuestMemoryCapability
2. fix a bug when dumping a elf core with the an older version of qemu

Changes from v6 to v7:
1. revert changing dumpformat of virDomainCoreDumpWithFormat back to an enum

Changes from v5 to v6:
1. add qemuMonitorGetDumpGuestMemoryCapability API to check the available dump
   format

Changes from v4 to v5:
1. modify some restriction check

Changes from v3 to v4:
1. dropping patch "add dump_memory_format in qemu.conf"
2. fix to follow some conventions

Changes from v2 to v3:
1. address Jiri Denemark's comment about adding a new public API instead of
   changing an old one.

Changes from v1 to v2:
1. address Daniel P. Berrange's comment about using a new parameter to replace
   flags like VIR_DUMP_COMPRESS_ZLIB.


qiaonuohan (4):
  add new virDomainCoreDumpWithFormat API
  qemu: add qemuMonitorGetDumpGuestMemoryCapability
  qemu: add support for virDomainCoreDumpWithFormat API
  allow "virsh dump --memory-only" specify dump format

 include/libvirt/libvirt.h.in | 31 ++++++++++++++
 src/driver.h                 |  7 ++++
 src/libvirt.c                | 98 ++++++++++++++++++++++++++++++++++++++++++++
 src/libvirt_public.syms      |  5 +++
 src/qemu/qemu_driver.c       | 75 ++++++++++++++++++++++++++++-----
 src/qemu/qemu_monitor.c      | 27 ++++++++++--
 src/qemu/qemu_monitor.h      |  6 ++-
 src/qemu/qemu_monitor_json.c | 85 +++++++++++++++++++++++++++++++++++---
 src/qemu/qemu_monitor_json.h |  6 ++-
 src/remote/remote_driver.c   |  1 +
 src/remote/remote_protocol.x | 15 ++++++-
 src/remote_protocol-structs  |  7 ++++
 src/test/test_driver.c       | 22 ++++++++--
 tests/qemumonitorjsontest.c  | 45 +++++++++++++++++++-
 tools/virsh-domain.c         | 47 +++++++++++++++++++--
 tools/virsh.pod              |  6 +++
 16 files changed, 454 insertions(+), 29 deletions(-)

-- 
1.8.5.3

--
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]