From: Gerd Hoffmann <kraxel@suse.de>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: Xen devel list <xen-devel@lists.xensource.com>,
Ewan Mellor <ewan@xensource.com>
Subject: Re: [patch 5/6] frontend device shutdown
Date: Tue, 22 Aug 2006 11:12:43 +0200 [thread overview]
Message-ID: <44EACA8B.5020901@suse.de> (raw)
In-Reply-To: <C1107F25.1331%Keir.Fraser@cl.cam.ac.uk>
Hi,
> I don't want to add new XenbusStates. I'm talking about a different,
> hotplug, status that is rather different: it indicates the status of the
> device from the p.o.v. Of the admin and control tools (basically, 'online'
> or 'offline').
I understand that, this is a related but different issue though.
> 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'll try (1). I don't expect it being that hard, I expect doing that in
the old kernel _after_ unregistering the watches should work just fine.
cheers,
Gerd
--
Gerd Hoffmann <kraxel@suse.de>
http://www.suse.de/~kraxel/julika-dora.jpeg
next prev parent reply other threads:[~2006-08-22 9:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-17 14:03 [patch 5/6] frontend device shutdown Gerd Hoffmann
2006-08-19 12:25 ` Keir Fraser
2006-08-19 12:29 ` Keir Fraser
2006-08-21 14:11 ` Gerd Hoffmann
2006-08-21 16:11 ` Keir Fraser
2006-08-22 8:04 ` Gerd Hoffmann
2006-08-22 8:30 ` Keir Fraser
2006-08-22 8:40 ` Keir Fraser
2006-08-22 9:12 ` Gerd Hoffmann [this message]
2006-08-22 10:22 ` Gerd Hoffmann
2006-08-19 12:52 ` Keir Fraser
2006-08-21 6:48 ` Gerd Hoffmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44EACA8B.5020901@suse.de \
--to=kraxel@suse.de \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=ewan@xensource.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.