WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Write the error message and the hotplug-status=busy in t

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Write the error message and the hotplug-status=busy in the same transaction, to
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 27 Nov 2005 02:24:07 +0000
Delivery-date: Sun, 27 Nov 2005 02:25:00 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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 emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 895a9ca1b0a68c2bb15a2fbfa65453e493219d88
# Parent  b9181b1c576fb39bb4d3b088ac3378d77163b4cc
Write the error message and the hotplug-status=busy in the same transaction, to
ensure that the message is picked up.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r b9181b1c576f -r 895a9ca1b0a6 tools/examples/block-common.sh
--- a/tools/examples/block-common.sh    Sat Nov 26 01:21:55 2005
+++ b/tools/examples/block-common.sh    Sat Nov 26 23:59:09 2005
@@ -34,8 +34,8 @@
 
 ebusy()
 {
-  xenstore_write "$XENBUS_PATH/hotplug-status" busy
-  xenstore_write "$XENBUS_PATH/hotplug-error" "$*"
+  xenstore_write "$XENBUS_PATH/hotplug-error" "$*" \
+                 "$XENBUS_PATH/hotplug-status" busy
   log err "$@"
   exit 1
 }

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Write the error message and the hotplug-status=busy in the same transaction, to, Xen patchbot -unstable <=