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 /Config.mk | |
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 'Config.mk')
0 files changed, 0 insertions, 0 deletions