From: Anthony Liguori <anthony@codemonkey.ws>
To: Avi Kivity <avi@redhat.com>
Cc: Daniel Gollub <gollub@b1-systems.de>, kvm@vger.kernel.org
Subject: Re: [PATCH 0/2] Introduce panic hypercall
Date: Mon, 20 Jun 2011 14:28:42 -0500 [thread overview]
Message-ID: <4DFF9F6A.5040201@codemonkey.ws> (raw)
In-Reply-To: <4DFF67CB.3060807@redhat.com>
On 06/20/2011 10:31 AM, Avi Kivity wrote:
> On 06/20/2011 04:38 PM, Daniel Gollub wrote:
>> 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 />).
>
> This would be more easily done via a "panic device" (I/O port or
> memory-mapped address) that the guest hits. It would be intercepted by
> qemu without any new code in kvm.\
>
> However, I'm not sure I see the gain. Most enterprisey guests already
> contain in-guest crash dumpers which provide more information than a
> qemu memory dump could, since they know exact load addresses etc. and
> are integrated with crash analysis tools. What do you have in mind?
FYI, s390 has this functionality. It's useful because there's no use in
having a guest just spin in a panic loop. Crash dump integration is
much more complicated and requires functioning networking or some
paravirt channel.
Regards,
Anthony Liguori
prev parent reply other threads:[~2011-06-20 19:28 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DFF9F6A.5040201@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=avi@redhat.com \
--cc=gollub@b1-systems.de \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox