diff options
author | Ian Jackson <ian.jackson@eu.citrix.com> | 2012-07-26 10:35:36 +0100 |
---|---|---|
committer | Ian Jackson <ian.jackson@eu.citrix.com> | 2012-07-26 10:35:36 +0100 |
commit | a413f5a5f4463bc805c297bc2d328f1da17f3b1b (patch) | |
tree | 08eb3b82767b221c3568794c4a9c9894e37199d8 /docs | |
parent | c902f397d67d3fa959d46a0373230da3f8c8af92 (diff) | |
download | xen-a413f5a5f4463bc805c297bc2d328f1da17f3b1b.tar.gz xen-a413f5a5f4463bc805c297bc2d328f1da17f3b1b.tar.bz2 xen-a413f5a5f4463bc805c297bc2d328f1da17f3b1b.zip |
xl: support xend empty cdrom device syntax
xend accepts `,hdc:cdrom,r' as an empty CDROM drive. However this is
not consistent with the existing xl syntax in
docs/misc/xl-disk-configuration.txt which requires `,,hdc:cdrom,r'
(the additional positional paramter is the format).
We fix this by spotting the case specially: when the target is empty
and the format contains a colon, reinterpret the format as
<vdev>:<devtype>.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/misc/xl-disk-configuration.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/misc/xl-disk-configuration.txt b/docs/misc/xl-disk-configuration.txt index 740b8f6429..5da5e11ea4 100644 --- a/docs/misc/xl-disk-configuration.txt +++ b/docs/misc/xl-disk-configuration.txt @@ -221,3 +221,14 @@ to specify several of these, for example: "tap:aio:/some/path..." All of these prefixes are now stripped and ignored. + + +Missing format and empty target +------------------------------- + +The following syntax is also supported: + + ,<vdev>:<devtype>,<access> (deprecated) + +This is soley for compatibility with xend's syntax for empty cdroms, +which is (for example) ",hdc:cdrom,r". |