aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxlu_disk_l.l
diff options
context:
space:
mode:
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>2011-10-10 11:21:51 +0100
committerDaniel De Graaf <dgdegra@tycho.nsa.gov>2011-10-10 11:21:51 +0100
commitdf0c75a05f6782a88e0471a9c5e070f8900a875f (patch)
tree68792e9d346fe3c97c570582c3e463e11a8af993 /tools/libxl/libxlu_disk_l.l
parent40b004d6ee858af7ad162ceb4d7f13be7ae2b129 (diff)
downloadxen-df0c75a05f6782a88e0471a9c5e070f8900a875f.tar.gz
xen-df0c75a05f6782a88e0471a9c5e070f8900a875f.tar.bz2
xen-df0c75a05f6782a88e0471a9c5e070f8900a875f.zip
libxl: correctly parse disk "backendtype" field
The expression for backendtype was missing a comma. Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxlu_disk_l.l')
-rw-r--r--tools/libxl/libxlu_disk_l.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/libxlu_disk_l.l b/tools/libxl/libxlu_disk_l.l
index 22037d6f17..a3e71808fa 100644
--- a/tools/libxl/libxlu_disk_l.l
+++ b/tools/libxl/libxlu_disk_l.l
@@ -139,7 +139,7 @@ devtype=disk,? { DPC->disk->is_cdrom = 0; }
devtype=[^,]*,? { xlu__disk_err(DPC,yytext,"unknown value for type"); }
access=[^,]*,? { STRIP(','); setaccess(DPC, FROMEQUALS); }
-backendtype=[^,]*? { STRIP(','); setbackendtype(DPC,FROMEQUALS); }
+backendtype=[^,]*,? { STRIP(','); setbackendtype(DPC,FROMEQUALS); }
vdev=[^,]*,? { STRIP(','); SAVESTRING("vdev", vdev, FROMEQUALS); }
script=[^,]*,? { STRIP(','); SAVESTRING("script", script, FROMEQUALS); }