mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 01:34:11 +03:00
conf: Add 'spapr-pci-host-bridge' controller model
Adding it to the virDomainControllerPCIModelName enumeration is enough for existing code to handle it, so parsing and formatting will work without further tweaking. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Laine Stump <laine@laine.org>
This commit is contained in:
parent
591b42f39f
commit
90855eca3f
@ -1983,6 +1983,8 @@
|
||||
<element name="model">
|
||||
<attribute name="name">
|
||||
<choice>
|
||||
<!-- implementations of 'pci-root' -->
|
||||
<value>spapr-pci-host-bridge</value>
|
||||
<!-- implementations of 'pci-bridge' -->
|
||||
<value>pci-bridge</value>
|
||||
<!-- implementations of 'dmi-to-pci-bridge' -->
|
||||
|
@ -349,6 +349,7 @@ VIR_ENUM_IMPL(virDomainControllerPCIModelName,
|
||||
"pxb",
|
||||
"pxb-pcie",
|
||||
"pcie-root-port",
|
||||
"spapr-pci-host-bridge",
|
||||
);
|
||||
|
||||
VIR_ENUM_IMPL(virDomainControllerModelSCSI, VIR_DOMAIN_CONTROLLER_MODEL_SCSI_LAST,
|
||||
|
@ -710,6 +710,7 @@ typedef enum {
|
||||
VIR_DOMAIN_CONTROLLER_PCI_MODEL_NAME_PXB,
|
||||
VIR_DOMAIN_CONTROLLER_PCI_MODEL_NAME_PXB_PCIE,
|
||||
VIR_DOMAIN_CONTROLLER_PCI_MODEL_NAME_PCIE_ROOT_PORT,
|
||||
VIR_DOMAIN_CONTROLLER_PCI_MODEL_NAME_SPAPR_PCI_HOST_BRIDGE,
|
||||
|
||||
VIR_DOMAIN_CONTROLLER_PCI_MODEL_NAME_LAST
|
||||
} virDomainControllerPCIModelName;
|
||||
|
Loading…
Reference in New Issue
Block a user