[libvirt] [PATCH v4 0/5] libvirt supports Guest Panicked

Chen Fan chen.fan.fnst at cn.fujitsu.com
Mon Jun 3 03:58:42 UTC 2013


Changes:
  v3-v4: 1. Supports the dumpcore options of the oncrash element in the XML.
         2. Move the previous code to processWatchdogEvent().

  v2-v3: 1. split into 3 patches

  v1-v2: 1. fix the incorrect domain state: paused -> crashed, when crash
            the guest while libvirt isn't running, then restart libvirtd.

Chen Fan (5):
  libvirt: Define domain crash event types
  qemu: Supports guest panicked
  virsh: supports guest panicked
  libvirt: Define crash dumpcore events in watchdogAction. 
  qemu: Implement the oncrash events in processWatchdogEvent.

 examples/domain-events/events-c/event-test.c |  10 ++
 include/libvirt/libvirt.h.in                 |  16 +++
 src/conf/domain_conf.c                       |  16 ++-
 src/conf/domain_conf.h                       |   4 +
 src/qemu/qemu_driver.c                       | 197 +++++++++++++++++++++------
 src/qemu/qemu_monitor.c                      |  14 +-
 src/qemu/qemu_monitor.h                      |   5 +
 src/qemu/qemu_monitor_json.c                 |   7 +
 src/qemu/qemu_process.c                      | 127 ++++++++++++++---
 src/qemu/qemu_process.h                      |   2 +
 tools/virsh-domain-monitor.c                 |   8 ++
 11 files changed, 338 insertions(+), 68 deletions(-)

-- 
1.8.1.4




More information about the libvir-list mailing list