|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH 10/14] docs: update xl-disk-configuration.txt to
Ian Campbell writes ("Re: [Xen-devel] [PATCH 10/14] docs: update
xl-disk-configuration.txt to describe new syntax"):
> I think it would be ok if you correct the * placements etc. Having some
> sort of (semi-)formal syntax declaration in addition to the wordy
> description is useful IMHO.
>
> Would the syntax be clearer as a BNF style thing rather than a regexp-y
> thing? e.g. this would allow "[<target>, [<format>, [<vdev>,
> [<access>]]]]," to be declared as "POSITIONAL_PARAMETERS := ..." making
> the syntax a little more self-documenting and "KEY := ..." could be
> defined with reference to the relevant following sections etc.
The trouble with bnf is that it all comes out of order -
self-assembly, so to speak.
> Should the second "<key>=<value>" usage also have a "|flag"?
Yes.
> I presume "key" can also == "target" and can be the non-ultimate key so
> long as the value does not contain any problematic characters. In this
> case the explicit target= needs to be marked as optional.
No, general "key" may not be "target". "target=" always eats the rest
of the string.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 13/14] libxl: disks: allow specification of "backendtype=phy|tap|qdisk", (continued)
- Re: [Xen-devel] [PATCH 13/14] libxl: disks: allow specification of "backendtype=phy|tap|qdisk", Ian Campbell
- [Xen-devel] Re: [PATCH 12/14] xl: disks: replace block-attach disk config parser with call to xlu_parse_disk, Ian Jackson
- Re: [Xen-devel] [PATCH 12/14] xl: disks: replace block-attach disk config parser with call to xlu_parse_disk, Ian Campbell
- Re: [Xen-devel] [PATCH 11/14] xl: disks: replace config file disk spec parser with call to xlu_disk_parse, Ian Campbell
- Re: [Xen-devel] [PATCH 10/14] docs: update xl-disk-configuration.txt to describe new syntax, Ian Campbell
- Re: [Xen-devel] [PATCH 10/14] docs: update xl-disk-configuration.txt to describe new syntax, Ian Jackson
- Re: [Xen-devel] [PATCH 10/14] docs: update xl-disk-configuration.txt to describe new syntax, Ian Campbell
- Re: [Xen-devel] [PATCH 10/14] docs: update xl-disk-configuration.txt to describe new syntax,
Ian Jackson <=
- Re: [Xen-devel] [PATCH 10/14] docs: update xl-disk-configuration.txt to describe new syntax, Ian Campbell
- Re: [Xen-devel] [PATCH 09/14] libxl: disks: commit libxlu_disk_l.[ch] flex output, Ian Campbell
- Re: [Xen-devel] [PATCH 08/14] libxl: disks: new xlu_disk_parse function, Ian Campbell
- Re: [Xen-devel] [PATCH 07/14] libxl: disks: Make LIBXL_DISK_BACKEND_UNKNOWN work, Ian Campbell
- Re: [Xen-devel] [PATCH 06/14] libxl: disks: rename disk param "unpluggable" to "removable", Ian Campbell
- Re: [Xen-devel] [PATCH 05/14] libxl: disks: expose new "script" parameter for external block scripts, Ian Campbell
Re: [Xen-devel] [PATCH/RFC 00/14] libxl: disk configuration handling, Ian Campbell
|
|
|
|
|