mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
Add ftp protocol support for cdrom disk
The ftp protocol is already recognized by qemu/KVM so add this support to
libvirt as well.
The xml should be as following:
<disk type='network' device='cdrom'>
<source protocol='ftp' name='/url/path'>
<host name='host.name' port='21'/>
</source>
</disk>
Signed-off-by: Aline Manera <alinefm@br.ibm.com>
This commit is contained in:
1 parent
3485ce4e9d
commit
796513d7cc
8 files changed
+63
-1
No files matched your search
@@ -1509,6 +1509,14 @@
|
||||
<target dev='hdc' bus='ide' tray='open'/>
|
||||
<readonly/>
|
||||
</disk>
|
||||
<disk type='network' device='cdrom'>
|
||||
<driver name='qemu' type='raw'/>
|
||||
<source protocol="ftp" name="url_path">
|
||||
<host name="hostname" port="21"/>
|
||||
</source>
|
||||
<target dev='hdc' bus='ide' tray='open'/>
|
||||
<readonly/>
|
||||
</disk>
|
||||
<disk type='block' device='lun'>
|
||||
<driver name='qemu' type='raw'/>
|
||||
<source dev='/dev/sda'/>
|
||||
|
||||
@@ -1212,6 +1212,7 @@
|
||||
<value>gluster</value>
|
||||
<value>iscsi</value>
|
||||
<value>http</value>
|
||||
<value>ftp</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
<optional>
|
||||
|
||||
Reference in new issue
Block a user