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

Re: [Patch][RFC] fix PAL_HALT ( is Re: [Xen-ia64-devel] [RFC] dump core is failed for PAL_HALT)



Selon Isaku Yamahata <yamahata@xxxxxxxxxxxxx>:

> On Wed, Jan 24, 2007 at 11:43:37AM +0900, Akio Takebe wrote:
[...]
> According to SDM vol2 11.9, PAL_HALT places cpu in low power state.
Correct.

> So the current behaviour that xen/ia64 shutdown unconditionally is
> wrong.
Yes, but that's the code in linux/ia64.
Why linux/ia64 doesn't call the shutdown EFI runtime service ?  I don't know.
Maybe Alex knows the answer.

> CPU hot-unplug routine also calls cpu_halt(). In that case,
> only the targeted cpu should be halted. We don't want domain shutdown.
If the last vcpu calls PAL_HALT, the domain can be safely shut down.

> Probably modifying machine_reboot() and machine_power_off()
> needs modification(paravirtualization) to call shutdown hypercall.
I think all the paravirtualization can be done through EFI+PAL calls.

Tristan.

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.