|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [patch 5/6] frontend device shutdown
On 22/8/06 9:30 am, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx> wrote:
> Two options:
> 1. Always enter Closed state, and then run a cleanup phase in the kexec
> code which iterates over xenstore device directories, switching
> Closed->Initialising.
> 2. Enter state Initialising if backend's 'hotplug_status' node indicates
> 'online'. Gate xenbus_probe_node() on kernel_status <= STATE_RUNNING (the
> shutdown code only ever gets run after kernel_status is bumped to one of the
> shutdown states, I believe).
>
> I think (1) is architecturally cleaner, but I understand it may be a pain to
> implement in the constrained post-shutdown kexec environment. I don't think
> (2) is too bad, and is more along the lines of what you have already.
I had a chat with Ewan about this. We agree option (2) is sane and likely
much less work than option (1).
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|