]> xenbits.xensource.com Git - libvirt.git/commit
add network disk support
authorMORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Mon, 6 Dec 2010 07:24:09 +0000 (16:24 +0900)
committerEric Blake <eblake@redhat.com>
Thu, 9 Dec 2010 21:09:12 +0000 (14:09 -0700)
commit036ad5052b43fe9f0d197e89fd16715950408e1d
treeeda09af957dc8f7f27f1b9d90161402ec75f62b9
parent85d5fb19b168b11b1c584de086d0983a04ad0722
add network disk support

This patch adds network disk support to libvirt/QEMU.  The currently
supported protocols are nbd, rbd, and sheepdog.  The XML syntax is like
this:

    <disk type="network" device="disk">
      <driver name="qemu" type="raw" />
      <source protocol='rbd|sheepdog|nbd' name="...some image identifier...">
        <host name="mon1.example.org" port="6000">
        <host name="mon2.example.org" port="6000">
        <host name="mon3.example.org" port="6000">
      </source>
      <target dev="vda" bus="virtio" />
    </disk>

Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
AUTHORS
docs/schemas/domain.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_conf.c