Port-xen archive

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

Halt vs. Reboot: it matters which domain?



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



Home | Main Index | Thread Index | Old Index