[PATCH v3 0/5] Support of auto-dump on watchdog event in libvirtd

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

 



This patch series adds a new watchdog action `dump' which lets libvirtd
can do auto-dump when receiving a watchdog event from qemu guest.

In order to make the function work, there must be a watchdog device
added to guest, and guest must have a watchdog daemon running, for
example, /etc/init.d/watchdog start or auto-started on boot.

Changes from v2:

- let default auto-dump dir be /var/lib/libvirt/qemu/dump

Hu Tao (5):
  Add a threadpool implementation
  Fall back to QEMUD_SAVE_FORMAT_RAW if compression method fails.
  Add a new function doCoreDump
  Add a watchdog action `dump'
  Add me to AUTHORS to make `make syntax-check' happy

 AUTHORS                |    1 +
 src/Makefile.am        |    3 +-
 src/conf/domain_conf.c |    1 +
 src/conf/domain_conf.h |    1 +
 src/qemu/qemu.conf     |    5 +
 src/qemu/qemu_conf.c   |   13 +++-
 src/qemu/qemu_conf.h   |    4 +
 src/qemu/qemu_driver.c |  235 ++++++++++++++++++++++++++++++++++--------------
 src/util/threadpool.c  |  140 ++++++++++++++++++++++++++++
 src/util/threadpool.h  |   35 +++++++
 10 files changed, 367 insertions(+), 71 deletions(-)
 create mode 100644 src/util/threadpool.c
 create mode 100644 src/util/threadpool.h

-- 
1.7.3


-- 
Thanks,
Hu Tao

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