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] [xen-4.0-testing] blktap2: a little fix to xen-hotplug-c

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.0-testing] blktap2: a little fix to xen-hotplug-cleanup
From: "Xen patchbot-4.0-testing" <patchbot-4.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 06 Jun 2010 23:55:35 -0700
Delivery-date: Sun, 06 Jun 2010 23:57:56 -0700
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1275891842 -3600
# Node ID 877f0211cf719f452cef7173716f40265ea22e90
# Parent  2c3495f3ca84891752886b9ae7c03c42cd97efe5
blktap2: a little fix to xen-hotplug-cleanup

Signed-off-by: James (Song Wei) <jsong@xxxxxxxxxx>
xen-unstable changeset:   21129:bf74d9c31674
xen-unstable date:        Mon Apr 12 07:23:21 2010 +0100
---
 tools/hotplug/Linux/xen-hotplug-cleanup |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 2c3495f3ca84 -r 877f0211cf71 tools/hotplug/Linux/xen-hotplug-cleanup
--- a/tools/hotplug/Linux/xen-hotplug-cleanup   Fri Jun 04 10:50:55 2010 +0100
+++ b/tools/hotplug/Linux/xen-hotplug-cleanup   Mon Jun 07 07:24:02 2010 +0100
@@ -21,7 +21,7 @@ if [ "$vm" != "" ]; then
 
   # if the vm path does not exist and the device class is 'vbd' then we may 
have
   # a tap2 device
-  if [ $(xenstore-read "$vm_dev" 2>/dev/null) != "" ] \
+  if [ "$(xenstore-read "$vm_dev" 2>/dev/null)" != "" ] \
        && [ "${path_array[1]}" = "vbd" ]; then
     vm_dev="$vm/device/tap2/${path_array[3]}"
   fi

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-4.0-testing] blktap2: a little fix to xen-hotplug-cleanup, Xen patchbot-4.0-testing <=