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

Chen Fan chen.fan.fnst at cn.fujitsu.com
Fri Jun 7 10:23:30 UTC 2013


Changes:
   v5-v6: Refactor the patches, and fix the incorrect indentation and name.

   v4-v5: 1. fix the incorrect indentation and explanation (of some reasons).
 
   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: Refactor the processwatchdogEvent code that can make the driver
    workpool more generalized
  qemu: Need to use qemuProcessShutdownOrReboot(), so we defined it at
    qemu_process.h
  qemu: Implement 'oncrash' events when guest panicked
  qemu: Implement 'oncrash' coredump events when guest panicked

 examples/domain-events/events-c/event-test.c |  10 ++
 include/libvirt/libvirt.h.in                 |  16 ++
 src/conf/domain_conf.c                       |  12 +-
 src/qemu/qemu_domain.h                       |  11 +-
 src/qemu/qemu_driver.c                       | 222 ++++++++++++++++++++++++---
 src/qemu/qemu_monitor.c                      |  14 +-
 src/qemu/qemu_monitor.h                      |   4 +
 src/qemu/qemu_monitor_json.c                 |   7 +
 src/qemu/qemu_process.c                      |  60 +++++++-
 src/qemu/qemu_process.h                      |   3 +
 tools/virsh-domain-monitor.c                 |   8 +
 11 files changed, 328 insertions(+), 39 deletions(-)

-- 
1.8.1.4




More information about the libvir-list mailing list