Subject: Halt vs. Reboot: it matters which domain?
To: None <port-xen@netbsd.org>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: port-xen
Date: 12/14/2004 13:16:15
On Tue, Dec 14, 2004 at 01:10:36PM -0500, Thor Lancelot Simon wrote:
> 
> Actually, cpu_reset() for this port already calls HYPERVISOR_exit.  But it
> does make sense to get rid of the cngetc() loop on halt, and treat "halt"
> just like "reboot" (neither of them does, *or can*, actually reboot, of
> course; you have to do that from domain 0).  Without that, you are correct
> that HYPERVISOR_exit is never called for the "halt" case.

Thinking about this a bit more, I think I should put back the old RB_HALT
behaviour for domain 0.  If you "halt" domain 0 instead of "reboot"ing
it, you probably do not want the machine to come back up right away.

What do other people think about this?

Thor