[Top][All Lists]

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

Re: [Qemu-devel] Re: [PATCH] Reboot CPU on triple fault

From: Anthony Liguori
Subject: Re: [Qemu-devel] Re: [PATCH] Reboot CPU on triple fault
Date: Wed, 16 Apr 2008 09:44:25 -0500
User-agent: Thunderbird (X11/20080227)

Paul Brook wrote:
+    if (env->old_exception == EXCP08_DBLE) {
+        fprintf(stderr, "qemu: warning: triple fault\n");

IMHO There's no reason to print a message to stderr. This is all well defined behavior, and the accepted way of exiting from 286 protected mode.

Moreover, it's a standard means of rebooting in the absence of APM or ACPI. See native_machine_emergency_restart() in arch/x86/kernel/reboot.c in Linux.


Anthony Liguori


reply via email to

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