1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00

qemu: add capabilities bit for device "pxb-pcie"

The pxb device is a PCIe expander bus that can be added to any
    Q35-based machinetype. A single PCIe port (*not* hotpluggable) is
    provided; if more than one device is desired, or if hotplug
    support is needed, either a pcie-root-port, or some combination of
    pcie-switch-upstream-port and pcie-swith-downstream-ports must be
    added to it. It can have a NUMA node number associated with it, as
    well as a bus number.
This commit is contained in:
Laine Stump 2016-03-08 16:25:22 -05:00
parent 400b297692
commit 0ec0bc85d0
4 changed files with 10 additions and 0 deletions

View File

@ -323,6 +323,8 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
"debug-threads",
"secret",
"pxb",
"pxb-pcie", /* 220 */
);
@ -1579,6 +1581,7 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = {
{ "mptsas1068", QEMU_CAPS_SCSI_MPTSAS1068 },
{ "secret", QEMU_CAPS_OBJECT_SECRET },
{ "pxb", QEMU_CAPS_DEVICE_PXB },
{ "pxb-pcie", QEMU_CAPS_DEVICE_PXB_PCIE },
};
static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsVirtioBalloon[] = {

View File

@ -354,6 +354,9 @@ typedef enum {
QEMU_CAPS_OBJECT_SECRET, /* -object secret */
QEMU_CAPS_DEVICE_PXB, /* -device pxb */
/* 220 */
QEMU_CAPS_DEVICE_PXB_PCIE, /* -device pxb-pcie */
QEMU_CAPS_LAST /* this must always be the last item */
} virQEMUCapsFlags;

View File

@ -180,4 +180,5 @@
<flag name='debug-threads'/>
<flag name='secret'/>
<flag name='pxb'/>
<flag name='pxb-pcie'/>
</qemuCaps>

View File

@ -1322,6 +1322,9 @@
{
"name": "pxb"
},
{
"name": "pxb-pcie"
},
{
"name": "kvm64-x86_64-cpu"
},