I am looking for a way to mount an ISO as a cd rom, according to libvirt docs (referenced below) it should be possible, additionally in the question referenced below.
I am aware of this question, however its 4 years+ old and never actually came to any working conclusion.
I have taken the example from : http://libvirt.org/formatdomain.html#elementsDisks
</disk>
<disk type='network' device='cdrom'>
<driver name='qemu' type='raw'/>
<source protocol="http" name="url_path">
<host name="hostname" port="80"/>
</source>
<target dev='hde' bus='ide' tray='open'/>
<readonly/>
</disk>
I am unable to get this to work, I simply get:
Boot failed: Could not read from CDROM (code 0003)
Actual XML in use snippet:
<disk type='network' device='cdrom'>
<driver name='qemu' type='raw'/>
<source protocol="http" name="/debian-cd/current/amd64/iso-cd/debian-9.5.0-amd64-netinst.iso">
<host name="mirror.bytemark.co.uk" port="80"/>
</source>
<target dev='hdb' bus='ide' tray='open'/>
<readonly/>
</disk>
libvirtd (libvirt) 3.9.0 QEMU emulator version 2.10.0
Is anyone able to offer any assistance or tips?
I have tried putting the complete path including fqdn in the url_path as well, with and without http://