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-unstable] blktap2: a little fix to xen-hotplug-clea

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] blktap2: a little fix to xen-hotplug-cleanup
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 13 Apr 2010 14:55:13 -0700
Delivery-date: Tue, 13 Apr 2010 14:58:32 -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 1271053401 -3600
# Node ID bf74d9c31674c9001a7c4aa8d93227552edf53b1
# Parent  b5f9c6274d917db5bbe6cb9cc0d59910cc07a8a6
blktap2: a little fix to xen-hotplug-cleanup

Signed-off-by: James (Song Wei) <jsong@xxxxxxxxxx>
---
 tools/hotplug/Linux/xen-hotplug-cleanup |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r b5f9c6274d91 -r bf74d9c31674 tools/hotplug/Linux/xen-hotplug-cleanup
--- a/tools/hotplug/Linux/xen-hotplug-cleanup   Mon Apr 12 07:22:16 2010 +0100
+++ b/tools/hotplug/Linux/xen-hotplug-cleanup   Mon Apr 12 07:23:21 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-unstable] blktap2: a little fix to xen-hotplug-cleanup, Xen patchbot-unstable <=