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

Re: [libvirt] [PATCH v3 0/3] libvirt supports Guest panicked

On 05/28/2013 11:00 AM, Chen Fan wrote:
This patchs implement the 'on_crash' behavior in the XML

example XML:

   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 (3):
   libvirt: Define domain crash event types
   qemu: Supports guest panicked
   virsh: supports 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_monitor.c                      |  14 +++-
  src/qemu/qemu_monitor.h                      |   5 ++
  src/qemu/qemu_monitor_json.c                 |   7 ++
  src/qemu/qemu_process.c                      | 103 ++++++++++++++++++++++++++-
  tools/virsh-domain-monitor.c                 |   8 +++
  8 files changed, 169 insertions(+), 6 deletions(-)

Applied and tested on s390. Works fine and as expected (by me).
Of course Daniel or Eric should have a final look at it, as this
series extends the domain state model.


Mit freundlichen Grüßen/Kind Regards
   Viktor Mihajlovski

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martina Köderitz
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294

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