summaryrefslogtreecommitdiffstats
path: root/features/domains
diff options
context:
space:
mode:
authoranonym <anonym@riseup.net>2016-10-19 14:24:36 +0200
committeranonym <anonym@riseup.net>2016-10-19 14:27:11 +0200
commit75bca9cfeba46b29710193443bb4af5d8557a666 (patch)
treebd78f05509dca88b6ae8c549a6cac8c06be05db8 /features/domains
parentddecd0f4c561333fa16370044852fbf10084bd33 (diff)
Don't ever add a cdrom device with an empty ISO image path.
While libvirt can handle it, it does so with a workaround. The correct way to configure a (<driver name='qemu' type='raw'/>) cdrom device to not contain any media is to not have the <source ..> tag at all.
Diffstat (limited to 'features/domains')
-rw-r--r--features/domains/cdrom.xml1
1 files changed, 0 insertions, 1 deletions
diff --git a/features/domains/cdrom.xml b/features/domains/cdrom.xml
index e69f642..8bc3be7 100644
--- a/features/domains/cdrom.xml
+++ b/features/domains/cdrom.xml
@@ -1,6 +1,5 @@
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
- <source file=''/>
<target dev='hdc' bus='sata'/>
<readonly/>
</disk>