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: Avi Kivity
Subject: Re: [Qemu-devel] [PATCH 0/2] Introduce panic hypercall
Date: Mon, 20 Jun 2011 20:23:20 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc15 Thunderbird/3.1.10

On 06/20/2011 08:13 PM, Jan Kiszka wrote:
>  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.

You could NMI-IPI them. But I agree a synchronous signal is better (note it's not race-free itself).

--
error compiling committee.c: too many arguments to function




reply via email to

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