This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [linux-2.6.18-xen] xebus: Do not avoid state transitions

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] xebus: Do not avoid state transitions on shutdown in kernels for which
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 27 Jul 2007 02:20:30 -0700
Delivery-date: Fri, 27 Jul 2007 02:18:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1184081526 -3600
# Node ID 06cd871a5a98d82bb8a4234141ded60f4aac73de
# Parent  a70de77dd8d3db31dce965c718f5d221e2372e16
xebus: Do not avoid state transitions on shutdown in kernels for which
we do not provide a shutdown hook. This is because we don't drive
xenbus during shutdown in this case, and such kernels often do not
expose a 'system_state' variable, so the xenbus driver doesn't build!

Signed-off-by: David Lively <dlively@xxxxxxxxxxxxxxx>
Signed-off-by: Ben Guthro <bguthro@xxxxxxxxxxxxxxx>
 drivers/xen/xenbus/xenbus_probe.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r a70de77dd8d3 -r 06cd871a5a98 drivers/xen/xenbus/xenbus_probe.c
--- a/drivers/xen/xenbus/xenbus_probe.c Tue Jul 10 10:18:24 2007 +0100
+++ b/drivers/xen/xenbus/xenbus_probe.c Tue Jul 10 16:32:06 2007 +0100
@@ -210,6 +210,7 @@ static void otherend_changed(struct xenb
        DPRINTK("state is %d (%s), %s, %s", state, xenbus_strstate(state),
                dev->otherend_watch.node, vec[XS_WATCH_PATH]);
         * Ignore xenbus transitions during shutdown. This prevents us doing
         * work that can fail e.g., when the rootfs is gone.
@@ -223,6 +224,7 @@ static void otherend_changed(struct xenb
        if (drv->otherend_changed)
                drv->otherend_changed(dev, state);

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] xebus: Do not avoid state transitions on shutdown in kernels for which, Xen patchbot-linux-2.6.18-xen <=