]> xenbits.xensource.com Git - libvirt.git/commit
Add ftp protocol support for cdrom disk
authorAline Manera <alinefm@br.ibm.com>
Thu, 22 Aug 2013 19:03:08 +0000 (16:03 -0300)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 27 Aug 2013 12:50:24 +0000 (14:50 +0200)
commit796513d7cc01984fa7faebeb6dfb3541edeb09c6
treea5fd5681bd222996d41e85b02a25604d281f201c
parent3485ce4e9df63187c730e8b17a9ad5244b8aedc1
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>
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-ftp.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-ftp.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c