Selon Isaku Yamahata <yama...@valinux.co.jp>:
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.