public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Introduce panic hypercall
@ 2011-06-20 13:38 Daniel Gollub
  2011-06-20 13:38 ` [PATCH 1/2] Inroduce panic hypercall KVM_HC_PANIC (host) Daniel Gollub
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Daniel Gollub @ 2011-06-20 13:38 UTC (permalink / raw)
  To: kvm; +Cc: Daniel Gollub

Introduce panic hypercall to enable the crashing guest to notify the
host. This enables the host to run some actions as soon a guest
crashed (kernel panic).

This patch series introduces the panic hypercall at the host end.
As well as the hypercall for KVM paravirtuliazed Linux guests, by
registering the hypercall to the panic_notifier_list.

The basic idea is to create KVM crashdump automatically as soon the
guest paniced and power-cycle the VM (e.g. libvirt <on_crash />).


Daniel Gollub (2):
  Inroduce panic hypercall KVM_HC_PANIC (host)
  Call KVM_HC_PANIC if guest panics

 arch/x86/kernel/kvm.c    |   16 ++++++++++++++++
 arch/x86/kvm/x86.c       |    9 +++++++++
 include/linux/kvm.h      |    1 +
 include/linux/kvm_host.h |    1 +
 include/linux/kvm_para.h |    1 +
 5 files changed, 28 insertions(+), 0 deletions(-)


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2011-06-21  9:30 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-20 13:38 [PATCH 0/2] Introduce panic hypercall Daniel Gollub
2011-06-20 13:38 ` [PATCH 1/2] Inroduce panic hypercall KVM_HC_PANIC (host) Daniel Gollub
2011-06-20 13:38 ` [PATCH 2/2] Call KVM_HC_PANIC if guest panics Daniel Gollub
2011-06-20 15:31 ` [PATCH 0/2] Introduce panic hypercall Avi Kivity
2011-06-20 15:38   ` Daniel P. Berrange
2011-06-20 15:45     ` Avi Kivity
2011-06-20 15:59       ` Jan Kiszka
2011-06-20 16:26       ` Daniel Gollub
2011-06-20 16:34         ` Avi Kivity
2011-06-20 17:13           ` Jan Kiszka
2011-06-20 17:23             ` Avi Kivity
2011-06-21  6:04               ` Gleb Natapov
2011-06-21  6:02           ` Gleb Natapov
2011-06-21  8:09             ` Avi Kivity
2011-06-21  8:41               ` Gleb Natapov
2011-06-21  8:56                 ` Avi Kivity
2011-06-21  9:03                   ` Gleb Natapov
2011-06-21  9:07                     ` Avi Kivity
2011-06-21  9:30               ` shawn che
2011-06-20 19:28   ` Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox