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

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

 



dumping guest's memroy is introduced without compression supported, and this is
a freature regression of 'virsh dump --memory-only'. This patchset is used to
add support in libvirt side to make qemu dump guest's memory in kdump-compressed
format and please refer the following address to see implementation of the qemu
side, the lastest version of qemu side is v9(ready for being queued).

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

ChangLog:
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 virDomainMemoryDump API
  wire up qemu agent to virDomainMemoryDump API
  allow "virsh dump --memory-only" specify dump format
  add dump_memory_format in qemu.conf

 include/libvirt/libvirt.h.in       | 21 +++++++++
 src/access/viraccessperm.c         |  2 +-
 src/access/viraccessperm.h         |  6 +++
 src/driver.h                       |  7 +++
 src/libvirt.c                      | 95 ++++++++++++++++++++++++++++++++++++++
 src/libvirt_public.syms            |  5 ++
 src/qemu/libvirtd_qemu.aug         |  1 +
 src/qemu/qemu.conf                 | 13 +++++-
 src/qemu/qemu_conf.c               |  3 ++
 src/qemu/qemu_conf.h               |  2 +
 src/qemu/qemu_driver.c             | 73 +++++++++++++++++++++++++----
 src/qemu/qemu_monitor.c            |  7 +--
 src/qemu/qemu_monitor.h            |  3 +-
 src/qemu/qemu_monitor_json.c       |  4 +-
 src/qemu/qemu_monitor_json.h       |  3 +-
 src/qemu/test_libvirtd_qemu.aug.in |  1 +
 src/remote/remote_driver.c         |  1 +
 src/remote/remote_protocol.x       | 15 +++++-
 src/remote_protocol-structs        |  7 +++
 src/test/test_driver.c             | 17 ++++++-
 tests/qemumonitorjsontest.c        |  2 +-
 tools/virsh-domain.c               | 55 +++++++++++++++++++++-
 22 files changed, 319 insertions(+), 24 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]