[PATCH 0/2] Detect misconfiguration between disk bus and disk address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch series adds the functionality to detect a misconfiguration
between disk bus type and disk address type for disks that are using
the address type virDomainDeviceDriveAddress. It also adds a test for
it.

A check for other bus types may be needed. This may require a driver
specific function, as it is already implemented in
virDomainDeviceDefPostParse(), for example.

Marc Hartmayer (2):
  conf: Detect misconfiguration between disk bus and disk address
  tests: Add tests for disk configuration validation

 src/conf/domain_conf.c                             | 46 ++++++++++++++++++++++
 .../qemuxml2argv-disk-fdc-incompatible-address.xml | 22 +++++++++++
 .../qemuxml2argv-disk-ide-incompatible-address.xml | 23 +++++++++++
 ...qemuxml2argv-disk-sata-incompatible-address.xml | 23 +++++++++++
 ...qemuxml2argv-disk-scsi-incompatible-address.xml | 24 +++++++++++
 tests/qemuxml2argvtest.c                           |  8 ++++
 6 files changed, 146 insertions(+)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-fdc-incompatible-address.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-ide-incompatible-address.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-sata-incompatible-address.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-scsi-incompatible-address.xml

-- 
2.5.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]