libvirt/src/conf
Osier Yang cdb9789559 conf: Generate address for scsi host device automatically
With unknown good reasons, the attribute "bus" of scsi device
address is always set to 0, same for attribute "target". (See
virDomainDiskDefAssignAddress).

Though we might need to change the algorithm to honor "bus"
and "target" too, that's a different issue. The address generator
for scsi host device in this patch just follows the unknown
good reasons, only considering the "controller" and "unit".
It walks through all scsi controllers and their units, to see
if the address $controller:0:0:$unit can be used (if not used
by any disk or scsi host device yet), if found one, it sits on
it, otherwise, it creates a new controller (actually the controller
is implicitly created by someone else), and sits on
$new_controller:0:0:0 instead.
2013-06-01 10:00:23 +08:00
..
capabilities.c Adapt to VIR_STRDUP and VIR_STRNDUP in src/conf/* 2013-05-22 18:53:59 +02:00
capabilities.h virCaps: get rid of defaultConsoleTargetType callback 2013-04-04 22:42:39 +02:00
cpu_conf.c Adapt to VIR_STRDUP and VIR_STRNDUP in src/conf/* 2013-05-22 18:53:59 +02:00
cpu_conf.h Rename xml.{c,h} to virxml.{c,h} 2012-12-21 11:19:50 +00:00
device_conf.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
device_conf.h Rename util.{c,h} to virutil.{c,h} 2012-12-21 11:19:49 +00:00
domain_audit.c src/conf: Remove the whitespace before ';' 2013-05-21 23:41:44 +08:00
domain_audit.h Include pid namespace inode in LXC audit messages 2013-03-07 19:43:53 +00:00
domain_conf.c conf: Generate address for scsi host device automatically 2013-06-01 10:00:23 +08:00
domain_conf.h Introduce /domain/devices/interface/driver/@queues attribute 2013-05-22 16:31:27 +02:00
domain_event.c Adapt to VIR_STRDUP and VIR_STRNDUP in src/conf/* 2013-05-22 18:53:59 +02:00
domain_event.h Add support for SUSPEND_DISK event 2012-10-15 12:09:10 +02:00
domain_nwfilter.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
domain_nwfilter.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
interface_conf.c syntax: prefer space after semicolon in for loop 2013-05-28 07:56:07 -06:00
interface_conf.h Fix the syntax-check failure 2013-05-22 13:14:31 +08:00
netdev_bandwidth_conf.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
netdev_bandwidth_conf.h Rename xml.{c,h} to virxml.{c,h} 2012-12-21 11:19:50 +00:00
netdev_vlan_conf.c netdev_vlan_conf: Resolve memory leak found by Valgrind. 2013-02-07 14:08:14 -05:00
netdev_vlan_conf.h Rename xml.{c,h} to virxml.{c,h} 2012-12-21 11:19:50 +00:00
netdev_vport_profile_conf.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
netdev_vport_profile_conf.h Rename xml.{c,h} to virxml.{c,h} 2012-12-21 11:19:50 +00:00
network_conf.c src/conf: Remove the whitespace before ';' 2013-05-21 23:41:44 +08:00
network_conf.h Support for static routes on a virtual bridge 2013-05-13 16:14:40 -04:00
node_device_conf.c Adapt to VIR_STRDUP and VIR_STRNDUP in src/conf/* 2013-05-22 18:53:59 +02:00
node_device_conf.h Rename 'DeviceMonitor' to 'NodeDeviceDriver' 2013-04-24 10:59:53 +01:00
nwfilter_conf.c Adapt to VIR_STRDUP and VIR_STRNDUP in src/conf/* 2013-05-22 18:53:59 +02:00
nwfilter_conf.h virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
nwfilter_ipaddrmap.c Rename virterror.c virterror_internal.h to virerror.{c,h} 2012-12-21 11:19:50 +00:00
nwfilter_ipaddrmap.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
nwfilter_params.c virNWFilterHashTablePut: Free the correct variable 2013-05-23 15:58:41 +02:00
nwfilter_params.h Rename buf.{c,h} to virbuffer.{c,h} 2012-12-21 11:17:12 +00:00
secret_conf.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
secret_conf.h cleanup: Change datatype of secret->private to boolean 2013-04-11 11:54:37 +08:00
snapshot_conf.c Adapt to VIR_STRDUP and VIR_STRNDUP in src/conf/* 2013-05-22 18:53:59 +02:00
snapshot_conf.h maint: Rename xmlconf to xmlopt and virDomainXMLConfig to virDomainXMLOption 2013-04-04 22:18:56 +02:00
storage_conf.c Resolve memory leak found by valgrind 2013-05-31 10:38:15 -04:00
storage_conf.h storage_conf: Improve the coding style in storage_conf.h 2013-05-20 20:01:23 +08:00
storage_encryption_conf.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
storage_encryption_conf.h Rename util.{c,h} to virutil.{c,h} 2012-12-21 11:19:49 +00:00
virchrdev.c conf: add missing OOM errors 2013-05-23 18:56:36 +02:00
virchrdev.h conf: Add unix socket support to virChrdevOpen 2013-01-04 18:07:11 -07:00