Port-xen archive

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

Re: Xen 1.2 - problems solved!



Hello,

>> added domain termination handling on shutdown. Currently,
>> DomU just exits after shutdown (also on reboot, as i don't see a way to do
> a
>> real reboot of DomU), and on shutdown of Dom0, Xen reboots the machine. Is
>> there any hook known to do some way of halt instead of reboot here? At
> least,
>> with this patch, no domain loops eating up the CPU on shutdown.
>
> Please have a look at how this is done in the xen 2.0 port.  Not sure,
> if/how you can control reboot/halt behaviour in xen 1.2.
> Removing code like you suggest is a bad idea because you will want this code
> back if you're running as dom0 on xen 2.0.

I just removed the power down part, as i don't assume you can control machine
power by domain.
And the "press any key to reboot" message with the handling for this also
might not be necessary, as all this is stuff which should be controlled
outside the kernel running in a domain IMHO.

But i don't say you have to apply the full patch. See it as a kind of
proposal. I'm no official developer, i just try to help here.

...Michael

-- 
http://www.unixiron.org/    Home Powered by: (Net|Open|Free)BSD IRIX NonStop-UX
Solaris AIX HP-UX Tru64 MUNIX Ultrix VMS SINIX Dolphin_Unix OpenStep MacOS A/UX





Home | Main Index | Thread Index | Old Index