libvirt/src/conf
Daniel P. Berrange 776e37e1eb Set default disk controller/bus/unit props
When parsing the <disk> element specification, if no <address>
is provided for the disk, then automatically assign one based on
the <target dev='sdXX'/> device name. This provides for backwards
compatability with existing applications using libvirt, while also
allowing new apps to have complete fine grained control.

* src/conf/domain_conf.h, src/conf/domain_conf.c,
  src/libvirt_private.syms: Add virDomainDiskDefAssignAddress()
  for assigning a controller/bus/unit address based on disk target
* src/qemu/qemu_conf.c: Call virDomainDiskDefAssignAddress() after
  generating XML from ARGV
* tests/qemuxml2argvdata/*.xml: Add in drive address information
  to all XML files
2010-01-15 16:38:29 +00:00
..
capabilities.c XML parsing/formating code for CPU flags 2009-12-18 14:44:55 +01:00
capabilities.h XML parsing/formating code for CPU flags 2009-12-18 14:44:55 +01:00
cpu_conf.c Fixes syntax-check with previous commit 2009-12-18 14:50:04 +01:00
cpu_conf.h XML parsing/formating code for CPU flags 2009-12-18 14:44:55 +01:00
domain_conf.c Set default disk controller/bus/unit props 2010-01-15 16:38:29 +00:00
domain_conf.h Set default disk controller/bus/unit props 2010-01-15 16:38:29 +00:00
domain_event.c events: Report errors on failure 2010-01-13 14:24:07 -05:00
domain_event.h Move all XML configuration handling to src/conf/ 2009-09-21 14:41:46 +01:00
interface_conf.c Add virBufferFreeAndReset() and replace free() 2009-12-10 00:00:50 +01:00
interface_conf.h Support for IPv6 / multiple addresses per interfaces 2009-11-03 21:04:56 +01:00
network_conf.c Fix undefined reference to 'close_used_without_including_unistd_h' 2009-12-22 13:04:50 +01:00
network_conf.h Store the range size when adding a DHCP range 2009-11-06 18:07:24 +01:00
node_device_conf.c nodedev: Add removable storage 'media_label' prop 2009-12-14 14:58:23 +01:00
node_device_conf.h nodedev: Add removable storage 'media_label' prop 2009-12-14 14:58:23 +01:00
secret_conf.c Add virBufferFreeAndReset() and replace free() 2009-12-10 00:00:50 +01:00
secret_conf.h Move all XML configuration handling to src/conf/ 2009-09-21 14:41:46 +01:00
storage_conf.c Add virBufferFreeAndReset() and replace free() 2009-12-10 00:00:50 +01:00
storage_conf.h storage: Add ParseSourceString function for use with FindPoolSources. 2009-10-28 11:30:40 -04:00
storage_encryption_conf.c storage: conf: Fix memory leak in encryption parsing 2009-11-03 16:46:54 -05:00
storage_encryption_conf.h Move all XML configuration handling to src/conf/ 2009-09-21 14:41:46 +01:00