qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/2] Introduce panic hypercall


From: Jan Kiszka
Subject: Re: [Qemu-devel] [PATCH 0/2] Introduce panic hypercall
Date: Mon, 20 Jun 2011 19:13:52 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

On 2011-06-20 18:34, Avi Kivity wrote:
>> >
>> >  Do ILO cards / IPMI support something like this?  We could follow
>> their
>> >  lead in that case.
>>
>> The only two things which came to my mind are:
>>
>>   * NMI (aka. ipmitool diag) - already available in qemu/kvm - but
>> requires
>>     in-guest kexec/kdump
>>   * Hardware-Watchdog (also available in qemu/libvirt)
> 
> A watchdog has the advantage that is also detects lockups.
> 
> In fact you could implement the panic device via the existing
> watchdogs.  Simply program the timer for the minimum interval and
> *don't* service the interrupt.  This would work for non-virt setups as
> well as another way to issue a reset.

If you manage to bring down the other guest CPUs fast enough. Otherwise,
they may corrupt your crashdump before the host had a chance to collect
all pieces. Synchronous signaling to the hypervisor is a bit safer.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux



reply via email to

[Prev in Thread] Current Thread [Next in Thread]