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-devel

[Xen-devel] [PATCH] tools/hotplug/Linux/blktap: remove optional tapdisk:

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] tools/hotplug/Linux/blktap: remove optional tapdisk: prefix
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Fri, 16 Apr 2010 11:13:46 +0100
Delivery-date: Fri, 16 Apr 2010 03:13:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Perhaps this should even be further generalized (e.g. to remove any
"[!/]*:" pattern prefixes) to be more forward compatible?

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

--- a/tools/hotplug/Linux/blktap        2010-02-16 18:06:25.000000000 +0100
+++ b/tools/hotplug/Linux/blktap        2010-04-16 11:46:29.000000000 +0200
@@ -59,6 +59,7 @@
 if [ -n "$t" ]
 then
     p=$(xenstore_read "$XENBUS_PATH/params")
+    p=${p#tapdisk:}
     # if we have a ':', chew from head including :
     if echo $p | grep -q \:
     then



Attachment: xen-tools-blktap-script.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>