Osier Yang 4bc331c894 Introduce new XMLs to specify disk source using libvirt storage
With this patch, one can specify the disk source using libvirt
storage like:

  <disk type='volume' device='disk'>
    <driver name='qemu' type='raw' cache='none'/>
    <source pool='default' volume='fc18.img'/>
    <target dev='vdb' bus='virtio'/>
  </disk>

"seclabels" and "startupPolicy" are not supported for this new
disk type ("volume"). They will be supported in later patches.

docs/formatdomain.html.in:
  * Add documents for new XMLs
docs/schemas/domaincommon.rng:
  * Add rng for new XMLs;
src/conf/domain_conf.h:
  * New struct for 'volume' type disk source (virDomainDiskSourcePoolDef)
  * Add VIR_DOMAIN_DISK_TYPE_VOLUME for enum virDomainDiskType
src/conf/domain_conf.c:
  * New helper virDomainDiskSourcePoolDefParse to parse the 'volume'
    type disk source.
  * New helper virDomainDiskSourcePoolDefFree to free the source def
    if 'volume' type disk.
tests/qemuxml2argvdata/qemuxml2argv-disk-source-pool.xml:
tests/qemuxml2xmltest.c:
  * New test
2013-04-08 18:48:14 +08:00
..
2012-10-12 00:03:43 +02:00
2012-10-12 00:03:43 +02:00
2011-04-01 16:03:11 -06:00
2011-10-29 19:50:48 +02:00
2012-12-06 16:15:54 -07:00
2013-01-30 09:37:03 +01:00
2011-03-28 10:40:24 +08:00
2013-04-01 10:57:04 +08:00
2012-10-12 00:03:43 +02:00
2012-08-10 10:58:38 +02:00
2013-03-20 21:47:49 +08:00
2011-05-11 08:18:04 -06:00
2011-04-01 16:03:11 -06:00