qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2 v2] kvm: notify host when guest paniced
@ 2012-03-07  1:50 Wen Congyang
  2012-03-07  1:53 ` [Qemu-devel] [PATCH 1/2 " Wen Congyang
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Wen Congyang @ 2012-03-07  1:50 UTC (permalink / raw)
  To: kvm list, qemu-devel, linux-kernel@vger.kernel.org, Avi Kivity,
	Daniel P. Berrange, KAMEZAWA Hiroyuki, Jan Kiszka, Gleb Natapov

We can know the guest is paniced when the guest runs on xen.
But we do not have such feature on kvm.

Another purpose of this feature is: management app(for example:
libvirt) can do auto dump when the guest is crashed. If management
app does not do auto dump, the guest's user can do dump by hand if
he sees the guest is paniced.

I touch the hypervisor instead of using virtio-serial, because
1. it is simple
2. the virtio-serial is an optional device, and the guest may
   not have such device.

Changes from v1 to v2:
1. split up host and guest-side changes
2. introduce new request flag to avoid changing return values.

Wen Congyang (2):
  kvm: notify host when guest paniced
  kvm: set exit_reason to KVM_EXIT_GUEST_PANICED when guest paniced

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

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

end of thread, other threads:[~2012-03-07 10:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-07  1:50 [Qemu-devel] [PATCH 0/2 v2] kvm: notify host when guest paniced Wen Congyang
2012-03-07  1:53 ` [Qemu-devel] [PATCH 1/2 " Wen Congyang
2012-03-07  1:56 ` [Qemu-devel] [PATCH 2/2 v2] kvm: set exit_reason to KVM_EXIT_GUEST_PANICED " Wen Congyang
2012-03-07  1:58 ` [Qemu-devel] [PATCH v2] deal with guest paniced event Wen Congyang
2012-03-07  2:40   ` Eric Blake
2012-03-07  2:45     ` Wen Congyang
2012-03-07  9:53   ` Jan Kiszka
2012-03-07 10:05     ` Wen Congyang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).