]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add http protocol support for cdrom disk
authorAline Manera <alinefm@br.ibm.com>
Thu, 22 Aug 2013 19:03:07 +0000 (16:03 -0300)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 27 Aug 2013 12:50:24 +0000 (14:50 +0200)
commit3485ce4e9df63187c730e8b17a9ad5244b8aedc1
tree426c20b7cd0ec4cb30c73de90ab60f8386f0de3a
parentbab2eda6ada1bf832decdc64cc5062e54eb105df
Add http protocol support for cdrom disk

QEMU/KVM already allows a HTTP URL for the cdrom ISO image so add this support
to libvirt as well.
The xml should be as following:

    <disk type='network' device='cdrom'>
      <source protocol='http' name='/url/path'>
        <host name='host.name' port='80'/>
      </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-http.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-network-http.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c