[PATCH 30/33] qemu: introduce QEMU_CAPS_DEVICE_PNV_PHB4

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

 



The pnv-phb4 device is the pcie-root controller for PowerNV9 domains.

Signed-off-by: Daniel Henrique Barboza <danielhb413@xxxxxxxxx>
---
 src/qemu/qemu_capabilities.c                    | 2 ++
 src/qemu/qemu_capabilities.h                    | 1 +
 tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml | 1 +
 tests/qemucapabilitiesdata/caps_5.2.0.ppc64.xml | 1 +
 tests/qemucapabilitiesdata/caps_6.2.0.ppc64.xml | 1 +
 tests/qemucapabilitiesdata/caps_7.0.0.ppc64.xml | 1 +
 6 files changed, 7 insertions(+)

diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index c049dda627..dce7a1dce7 100644
--- a/src/qemu/qemu_capabilities.c
+++ b/src/qemu/qemu_capabilities.c
@@ -660,6 +660,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
               "pnv-phb3-root-port", /* QEMU_CAPS_DEVICE_PNV_PHB3_ROOT_PORT */
               "pnv-phb3", /* QEMU_CAPS_DEVICE_PNV_PHB3 */
               "pnv-phb4-root-port", /* QEMU_CAPS_DEVICE_PNV_PHB4_ROOT_PORT */
+              "pnv-phb4", /* QEMU_CAPS_DEVICE_PNV_PHB4 */
     );
 
 
@@ -1362,6 +1363,7 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = {
     { "pnv-phb3-root-port", QEMU_CAPS_DEVICE_PNV_PHB3_ROOT_PORT },
     { "pnv-phb3", QEMU_CAPS_DEVICE_PNV_PHB3 },
     { "pnv-phb4-root-port", QEMU_CAPS_DEVICE_PNV_PHB4_ROOT_PORT },
+    { "pnv-phb4", QEMU_CAPS_DEVICE_PNV_PHB4 },
 };
 
 
diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h
index d7bf211723..1bf3a75543 100644
--- a/src/qemu/qemu_capabilities.h
+++ b/src/qemu/qemu_capabilities.h
@@ -639,6 +639,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
     QEMU_CAPS_DEVICE_PNV_PHB3_ROOT_PORT, /* -device pnv-phb3-root-port */
     QEMU_CAPS_DEVICE_PNV_PHB3, /* -device pnv-phb3 */
     QEMU_CAPS_DEVICE_PNV_PHB4_ROOT_PORT, /* -device pnv-phb3-root-port */
+    QEMU_CAPS_DEVICE_PNV_PHB4, /* -device pnv-phb4 */
 
     QEMU_CAPS_LAST /* this must always be the last item */
 } virQEMUCapsFlags;
diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml b/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml
index 047ed74bed..525ee70b67 100644
--- a/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml
@@ -189,6 +189,7 @@
   <flag name='pnv-phb3-root-port'/>
   <flag name='pnv-phb3'/>
   <flag name='pnv-phb4-root-port'/>
+  <flag name='pnv-phb4'/>
   <version>5000000</version>
   <kvmVersion>0</kvmVersion>
   <microcodeVersion>42900241</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_5.2.0.ppc64.xml b/tests/qemucapabilitiesdata/caps_5.2.0.ppc64.xml
index 22725f1eea..82babb370d 100644
--- a/tests/qemucapabilitiesdata/caps_5.2.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_5.2.0.ppc64.xml
@@ -192,6 +192,7 @@
   <flag name='pnv-phb3-root-port'/>
   <flag name='pnv-phb3'/>
   <flag name='pnv-phb4-root-port'/>
+  <flag name='pnv-phb4'/>
   <version>5002000</version>
   <kvmVersion>0</kvmVersion>
   <microcodeVersion>42900243</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_6.2.0.ppc64.xml b/tests/qemucapabilitiesdata/caps_6.2.0.ppc64.xml
index c4ab974141..71c0133069 100644
--- a/tests/qemucapabilitiesdata/caps_6.2.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_6.2.0.ppc64.xml
@@ -201,6 +201,7 @@
   <flag name='pnv-phb3-root-port'/>
   <flag name='pnv-phb3'/>
   <flag name='pnv-phb4-root-port'/>
+  <flag name='pnv-phb4'/>
   <version>6001050</version>
   <kvmVersion>0</kvmVersion>
   <microcodeVersion>42900244</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_7.0.0.ppc64.xml b/tests/qemucapabilitiesdata/caps_7.0.0.ppc64.xml
index 2be5786f4e..43cff73de0 100644
--- a/tests/qemucapabilitiesdata/caps_7.0.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_7.0.0.ppc64.xml
@@ -203,6 +203,7 @@
   <flag name='pnv-phb3-root-port'/>
   <flag name='pnv-phb3'/>
   <flag name='pnv-phb4-root-port'/>
+  <flag name='pnv-phb4'/>
   <version>6002050</version>
   <kvmVersion>0</kvmVersion>
   <microcodeVersion>42900243</microcodeVersion>
-- 
2.34.1




[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]

  Powered by Linux