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

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

 



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

example XML:
     <on_crash>destroy</on_crash>

Changes:
   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

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