Re: [PATCH] Fix emergency_restart (sysrq-b) with kvm loaded on Intelhosts

From: Avi Kivity
Date: Mon Aug 25 2008 - 06:36:57 EST


Ingo Molnar wrote:
* Avi Kivity <avi@xxxxxxxxxxxx> wrote:

reboot was always a bit fragile - i think we should only do that if we find a box where the FADT reset works better than the first-wave approaches we try.
It worked on my host. Since it will fall back to keyboard reset and triple fault, it seems fairly safe.

... except if it hangs in ACPI/SMM code for whatever reason.

acpi reboot doesn't call into the aml interpreter. It just bangs on a port that it reads from a static table. See acpi_reboot().

It's true that SMM could be set up to intercept that port, but in that case, it is even more likely that it intercepts the keyboard controller port (to translate usb keyboards etc).

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/