Mailing List Archive

[xen-4.0-testing] tools/hotplug/Linux/blktap: remove optional tapdisk: prefix
# HG changeset patch
# User Keir Fraser <keir.fraser@citrix.com>
# Date 1271835320 -3600
# Node ID 3313a3077586b55cd2cdf156047247ddecb11910
# Parent 780b0731db78e3bb67cc621db2653cace4f95f70
tools/hotplug/Linux/blktap: remove optional tapdisk: prefix

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@novell.com>
xen-unstable changeset: 21193:ae1abcdd4a67
xen-unstable date: Mon Apr 19 08:58:43 2010 +0100
---
tools/hotplug/Linux/blktap | 1 +
1 files changed, 1 insertion(+)

diff -r 780b0731db78 -r 3313a3077586 tools/hotplug/Linux/blktap
--- a/tools/hotplug/Linux/blktap Wed Apr 21 08:34:49 2010 +0100
+++ b/tools/hotplug/Linux/blktap Wed Apr 21 08:35:20 2010 +0100
@@ -59,6 +59,7 @@ if [ -n "$t" ]
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

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