]> xenbits.xensource.com Git - libvirt.git/commit
conf: Detect misconfiguration between disk bus and disk address
authorMarc Hartmayer <mhartmay@linux.vnet.ibm.com>
Tue, 29 Nov 2016 12:11:31 +0000 (13:11 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 20 Dec 2016 10:34:30 +0000 (11:34 +0100)
commitc07d1c1c4f3a1c7959f912fbd7f56a23d7cc793c
tree1799d4841bf1860233a18f37dda7f8c3b0f18cc6
parentfb2cd32c9a3535e52a1129f7fe2aebf317ad5a65
conf: Detect misconfiguration between disk bus and disk address

This patch detects a misconfiguration between the disk bus type and disk
address type for controller based disk buses (SATA, SCSI, FDC and
IDE). The addresses of these bus types are all managed in common code so
it's possible to decide in common code whether the disk address and bus
type are compatible or not.

Signed-off-by: Marc Hartmayer <mhartmay@linux.vnet.ibm.com>
Reviewed-by: Bjoern Walk <bwalk@linux.vnet.ibm.com>
src/conf/domain_conf.c