1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-01-21 22:03:49 +03:00
John Ferlan 0d8b24f6b6 conf: Change when virDomainHostdevAssignAddress is called
Rather than calling virDomainHostdevAssignAddress during the parsing
of the XML, move the setting of a default hostdev address to domain/
device post processing.

Since the parse code no longer generates an address, we can remove
the virDomainDefMaybeAddHostdevSCSIcontroller since the call to
virDomainHostdevAssignAddress will attempt to add the controllers
that were not already defined in the XML.

This patch will also enforce that the address type is type 'drive'
when a SCSI subsystem <hostdev> element is provided with an <address>.

Signed-off-by: John Ferlan <jferlan@redhat.com>
2015-08-03 16:48:45 -04:00
..
2014-12-02 07:30:10 +01:00
2014-12-02 07:30:10 +01:00
2015-07-10 11:47:13 +02:00
2015-03-23 09:01:30 +01:00
2015-03-23 09:01:30 +01:00
2014-03-01 23:44:58 +04:00
2014-10-06 13:15:31 +02:00
2014-03-03 17:41:26 +04:00
2013-12-02 10:21:26 +08:00
2014-12-02 07:30:10 +01:00
2014-03-01 23:44:58 +04:00
2014-12-02 07:30:10 +01:00
2009-07-16 15:06:42 +02:00
2015-06-28 11:34:25 +08:00
2015-08-03 17:36:39 +08:00
2009-07-29 09:04:21 +01:00
2014-12-02 07:30:10 +01:00
2013-12-02 10:21:26 +08:00
2013-09-12 17:18:32 +08:00
2014-12-02 07:30:10 +01:00