]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Introduce QEMU_CAPS_OBJECT_GPEX
authorPavel Fedin <p.fedin@samsung.com>
Fri, 17 Jul 2015 11:27:44 +0000 (14:27 +0300)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 6 Aug 2015 11:59:22 +0000 (13:59 +0200)
This capability specifies that qemu can implement generic PCI host
controller. It is often used for virtual environments, including ARM.

Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h

index e304473469dbfe7a6c95d931dbabc32b45ca6a9b..74a7361c3dcc071049312e4b2ea7756a63384759 100644 (file)
@@ -288,6 +288,7 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
 
               "vhost-user-multiqueue", /* 190 */
               "migration-event",
+              "gpex-pcihost",
     );
 
 
@@ -1568,6 +1569,7 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = {
     { "ivshmem", QEMU_CAPS_DEVICE_IVSHMEM },
     { "pc-dimm", QEMU_CAPS_DEVICE_PC_DIMM },
     { "pci-serial", QEMU_CAPS_DEVICE_PCI_SERIAL },
+    { "gpex-pcihost", QEMU_CAPS_OBJECT_GPEX},
 };
 
 static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsVirtioBlk[] = {
index f77bd06ec38d881a955ce7b9adaf989350df9602..a50c3cac870c43b8e4ca641068c57e2822f80357 100644 (file)
@@ -231,6 +231,7 @@ typedef enum {
     QEMU_CAPS_CPU_AARCH64_OFF    = 189, /* -cpu ...,aarch64=off */
     QEMU_CAPS_VHOSTUSER_MULTIQUEUE = 190, /* vhost-user with -netdev queues= */
     QEMU_CAPS_MIGRATION_EVENT    = 191, /* MIGRATION event */
+    QEMU_CAPS_OBJECT_GPEX        = 192, /* have generic PCI host controller */
 
     QEMU_CAPS_LAST,                   /* this must always be the last item */
 } virQEMUCapsFlags;