mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
qemu: Introduce QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE
This new capability can be used to detect whether a QEMU binary supports the spapr-pci-host-bridge controller. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Laine Stump <laine@laine.org>
This commit is contained in:
parent
6e42d83f7c
commit
2e7d491696
@ -430,6 +430,7 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
|
||||
"virtio.iommu_platform",
|
||||
"virtio.ats",
|
||||
"loadparm",
|
||||
"spapr-pci-host-bridge",
|
||||
);
|
||||
|
||||
|
||||
@ -1676,6 +1677,7 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = {
|
||||
{ "nvdimm", QEMU_CAPS_DEVICE_NVDIMM },
|
||||
{ "pcie-root-port", QEMU_CAPS_DEVICE_PCIE_ROOT_PORT },
|
||||
{ "qemu-xhci", QEMU_CAPS_DEVICE_QEMU_XHCI },
|
||||
{ "spapr-pci-host-bridge", QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE },
|
||||
};
|
||||
|
||||
static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsVirtioBalloon[] = {
|
||||
|
@ -416,6 +416,7 @@ typedef enum {
|
||||
QEMU_CAPS_VIRTIO_PCI_IOMMU_PLATFORM, /* virtio-*-pci.iommu_platform */
|
||||
QEMU_CAPS_VIRTIO_PCI_ATS, /* virtio-*-pci.ats */
|
||||
QEMU_CAPS_LOADPARM, /* -machine loadparm */
|
||||
QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE, /* -device spapr-pci-host-bridge */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
@ -163,6 +163,7 @@
|
||||
<flag name='query-named-block-nodes'/>
|
||||
<flag name='kernel-irqchip'/>
|
||||
<flag name='kernel-irqchip.split'/>
|
||||
<flag name='spapr-pci-host-bridge'/>
|
||||
<version>2006000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package></package>
|
||||
|
Loading…
x
Reference in New Issue
Block a user