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

Hu Tao hutao at cn.fujitsu.com
Wed Nov 24 03:53:37 UTC 2010


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.

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'
  I am one of the authors

 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 |  229 +++++++++++++++++++++++++++++++++---------------
 src/util/threadpool.c  |  140 +++++++++++++++++++++++++++++
 src/util/threadpool.h  |   35 ++++++++
 10 files changed, 361 insertions(+), 71 deletions(-)
 create mode 100644 src/util/threadpool.c
 create mode 100644 src/util/threadpool.h

-- 
1.7.3


-- 
Thanks,
Hu Tao




More information about the libvir-list mailing list