On 11/18/20 2:39 PM, Daniel P. Berrangé wrote:
Probing for the NCR53C90 controller is a little unusual. The
qom-list-types QMP command returns a list of all types known to
the QEMU binary. It does not distinguish devices which are user
creatable from those which are built-in.

Any QEMU target that supports PCI will have the DC390 / AM53C974
devices because they are PCI based. Due to code dependencies
in QEMU though, existance of these two devices will also pull in

s/existance/existence

the NCR53C90 device (called just 'esp' in QEMU). The NCR53C90 is
not user-creatable and can only be used when built-in to the
machine type.

This is only the case on sparc machines, and certain mips64 and
m68k machines.  IOW, we don't rely on qom-list-types as a guide
for existance of NCR53C90, as it shouldn't really exist in most

s/existance/existence

QEMU binaries.

Signed-off-by: Daniel P. Berrangé <berra...@redhat.com>
---
  src/qemu/qemu_capabilities.c                  | 27 +++++++++++++++++++
  src/qemu/qemu_capabilities.h                  |  5 ++++
  .../caps_1.5.3.x86_64.xml                     |  2 ++
  .../caps_1.6.0.x86_64.xml                     |  2 ++
  .../caps_1.7.0.x86_64.xml                     |  2 ++
  .../caps_2.1.1.x86_64.xml                     |  2 ++
  .../caps_2.10.0.aarch64.xml                   |  2 ++
  .../caps_2.10.0.ppc64.xml                     |  2 ++
  .../caps_2.10.0.x86_64.xml                    |  2 ++
  .../caps_2.11.0.x86_64.xml                    |  2 ++
  .../caps_2.12.0.aarch64.xml                   |  2 ++
  .../caps_2.12.0.ppc64.xml                     |  2 ++
  .../caps_2.12.0.x86_64.xml                    |  2 ++
  .../caps_2.4.0.x86_64.xml                     |  2 ++
  .../caps_2.5.0.x86_64.xml                     |  2 ++
  .../caps_2.6.0.aarch64.xml                    |  2 ++
  .../qemucapabilitiesdata/caps_2.6.0.ppc64.xml |  2 ++
  .../caps_2.6.0.x86_64.xml                     |  2 ++
  .../caps_2.7.0.x86_64.xml                     |  2 ++
  .../caps_2.8.0.x86_64.xml                     |  2 ++
  .../qemucapabilitiesdata/caps_2.9.0.ppc64.xml |  2 ++
  .../caps_2.9.0.x86_64.xml                     |  2 ++
  .../qemucapabilitiesdata/caps_3.0.0.ppc64.xml |  2 ++
  .../caps_3.0.0.x86_64.xml                     |  2 ++
  .../qemucapabilitiesdata/caps_3.1.0.ppc64.xml |  2 ++
  .../caps_3.1.0.x86_64.xml                     |  2 ++
  .../caps_4.0.0.aarch64.xml                    |  2 ++
  .../qemucapabilitiesdata/caps_4.0.0.ppc64.xml |  2 ++
  .../caps_4.0.0.riscv32.xml                    |  2 ++
  .../caps_4.0.0.riscv64.xml                    |  2 ++
  .../caps_4.0.0.x86_64.xml                     |  2 ++
  .../caps_4.1.0.x86_64.xml                     |  2 ++
  .../caps_4.2.0.aarch64.xml                    |  2 ++
  .../qemucapabilitiesdata/caps_4.2.0.ppc64.xml |  2 ++
  .../caps_4.2.0.x86_64.xml                     |  2 ++
  .../caps_5.0.0.aarch64.xml                    |  2 ++
  .../qemucapabilitiesdata/caps_5.0.0.ppc64.xml |  2 ++
  .../caps_5.0.0.riscv64.xml                    |  2 ++
  .../caps_5.0.0.x86_64.xml                     |  2 ++
  .../caps_5.1.0.x86_64.xml                     |  2 ++
  .../caps_5.2.0.x86_64.xml                     |  2 ++
  41 files changed, 110 insertions(+)

diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index 9f9f976754..c9e5a17919 100644
--- a/src/qemu/qemu_capabilities.c
+++ b/src/qemu/qemu_capabilities.c
@@ -604,6 +604,11 @@ VIR_ENUM_IMPL(virQEMUCaps,
                "block-export-add",
                "netdev.vhost-vdpa",
                "fsdev.createmode",
+
+              /* 385 */
+              "ncr53c90",
+              "dc390",
+              "am53c974",
      );
@@ -1306,6 +1311,20 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = {
      { "tcg-accel", QEMU_CAPS_TCG },
      { "pvscsi", QEMU_CAPS_SCSI_PVSCSI },
      { "spapr-tpm-proxy", QEMU_CAPS_DEVICE_SPAPR_TPM_PROXY },
+    /*
+     * We don't probe 'esp' directly, because it is often reported
+     * as present for all QEMU binaries, due to it being enabled
+     * for built as a dependancy of dc390/am53c974 PCI SCSI
+     * controllers.
+     *
+     * The base 'esp' device is only used as a biult-in device

s/biult-in/built-in


Reviewed-by: Daniel Henrique Barboza <danielhb...@gmail.com>

+     * and is not user-creatable. So we turn this cap on later
+     * based on arch.
+     *
+     * { "esp", QEMU_CAPS_SCSI_NCR53C90 },
+     */
+    { "dc390", QEMU_CAPS_SCSI_DC390 },
+    { "am53c974", QEMU_CAPS_SCSI_AM53C974 },
  };
@@ -5121,6 +5140,14 @@ virQEMUCapsInitProcessCaps(virQEMUCapsPtr qemuCaps)
          virQEMUCapsGet(qemuCaps, QEMU_CAPS_SAVEVM_MONITOR_NODES))
          virQEMUCapsSet(qemuCaps, QEMU_CAPS_BLOCKDEV);
+ /* We can't probe "esp" as a type via virQEMUCapsObjectTypes
+     * array as it is only usable when builtin to the machine type
+     */
+    if (qemuCaps->arch == VIR_ARCH_SPARC ||
+        qemuCaps->arch == VIR_ARCH_M68K ||
+        qemuCaps->arch == VIR_ARCH_MIPS)
+        virQEMUCapsSet(qemuCaps, QEMU_CAPS_SCSI_NCR53C90);
+
      virQEMUCapsInitProcessCapsInterlock(qemuCaps);
  }
diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h
index 9d3f73b2ab..a64b63682d 100644
--- a/src/qemu/qemu_capabilities.h
+++ b/src/qemu/qemu_capabilities.h
@@ -585,6 +585,11 @@ typedef enum { /* virQEMUCapsFlags grouping marker for 
syntax-check */
      QEMU_CAPS_NETDEV_VHOST_VDPA, /* -netdev vhost-vdpa*/
      QEMU_CAPS_FSDEV_CREATEMODE, /* fsdev.createmode */
+ /* 385 */
+    QEMU_CAPS_SCSI_NCR53C90, /* built-in SCSI */
+    QEMU_CAPS_SCSI_DC390, /* -device dc-390 */
+    QEMU_CAPS_SCSI_AM53C974, /* -device am53c974 */
+
      QEMU_CAPS_LAST /* this must always be the last item */
  } virQEMUCapsFlags;
diff --git a/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml b/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml
index ad8ef54464..040508199b 100644
--- a/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_1.5.3.x86_64.xml
@@ -88,6 +88,8 @@
    <flag name='i8042'/>
    <flag name='tcg'/>
    <flag name='pvscsi'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>1005003</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100245</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml
index a9650bfa58..8718bb1332 100644
--- a/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_1.6.0.x86_64.xml
@@ -93,6 +93,8 @@
    <flag name='i8042'/>
    <flag name='tcg'/>
    <flag name='pvscsi'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>1006000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100243</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml
index b53c2f977f..c7732bff58 100644
--- a/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_1.7.0.x86_64.xml
@@ -95,6 +95,8 @@
    <flag name='i8042'/>
    <flag name='tcg'/>
    <flag name='pvscsi'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>1007000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100244</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml
index 97b29df47d..2223f41470 100644
--- a/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.1.1.x86_64.xml
@@ -111,6 +111,8 @@
    <flag name='i8042'/>
    <flag name='tcg'/>
    <flag name='pvscsi'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>2001001</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100240</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml 
b/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml
index 80ded97e7b..5b7df57b50 100644
--- a/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.10.0.aarch64.xml
@@ -147,6 +147,8 @@
    <flag name='migration-param.bandwidth'/>
    <flag name='migration-param.downtime'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>2010000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>61700287</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml 
b/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml
index a6cc20da15..fcd375da3b 100644
--- a/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.10.0.ppc64.xml
@@ -147,6 +147,8 @@
    <flag name='migration-param.bandwidth'/>
    <flag name='migration-param.downtime'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>2010000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>42900287</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml
index cc7b42a287..2fe1888535 100644
--- a/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.10.0.x86_64.xml
@@ -191,6 +191,8 @@
    <flag name='migration-param.bandwidth'/>
    <flag name='migration-param.downtime'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>2010000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100287</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.xml
index 1d49e92355..56024cfa5d 100644
--- a/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.11.0.x86_64.xml
@@ -198,6 +198,8 @@
    <flag name='migration-param.downtime'/>
    <flag name='migration-param.xbzrle-cache-size'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>2011000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100288</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml 
b/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml
index 4748a56cc9..a4574f70f6 100644
--- a/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.12.0.aarch64.xml
@@ -164,6 +164,8 @@
    <flag name='migration-param.downtime'/>
    <flag name='migration-param.xbzrle-cache-size'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>2012000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>61700289</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml 
b/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml
index ea0c6b91b7..ab5ab06084 100644
--- a/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.12.0.ppc64.xml
@@ -165,6 +165,8 @@
    <flag name='migration-param.downtime'/>
    <flag name='migration-param.xbzrle-cache-size'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>2011090</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>42900289</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml
index edd54db633..13b61fcfe5 100644
--- a/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.12.0.x86_64.xml
@@ -208,6 +208,8 @@
    <flag name='migration-param.downtime'/>
    <flag name='migration-param.xbzrle-cache-size'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>2011090</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100289</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml
index 64aeaeef5b..dc8c17c230 100644
--- a/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.4.0.x86_64.xml
@@ -138,6 +138,8 @@
    <flag name='tcg'/>
    <flag name='pvscsi'/>
    <flag name='fw_cfg'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>2004000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100242</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml
index 51c3c00cb7..ff2f789ba3 100644
--- a/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.5.0.x86_64.xml
@@ -144,6 +144,8 @@
    <flag name='tcg'/>
    <flag name='pvscsi'/>
    <flag name='fw_cfg'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>2005000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100243</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.xml 
b/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.xml
index 5f74659837..b43cc3aa4d 100644
--- a/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.6.0.aarch64.xml
@@ -127,6 +127,8 @@
    <flag name='tcg'/>
    <flag name='pvscsi'/>
    <flag name='fw_cfg'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>2006000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>61700244</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml 
b/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml
index 1f5ccbcd08..efad707714 100644
--- a/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.6.0.ppc64.xml
@@ -123,6 +123,8 @@
    <flag name='tcg'/>
    <flag name='pvscsi'/>
    <flag name='fw_cfg'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>2006000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>42900244</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml
index a6419f1efb..5c383c190a 100644
--- a/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml
@@ -156,6 +156,8 @@
    <flag name='tcg'/>
    <flag name='pvscsi'/>
    <flag name='fw_cfg'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>2006000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100244</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml
index 984b62b7b3..95f38ca41d 100644
--- a/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml
@@ -161,6 +161,8 @@
    <flag name='tcg'/>
    <flag name='pvscsi'/>
    <flag name='fw_cfg'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>2007000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100245</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml
index 855a1a7392..d24c3c71e0 100644
--- a/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml
@@ -166,6 +166,8 @@
    <flag name='fw_cfg'/>
    <flag name='migration-param.bandwidth'/>
    <flag name='migration-param.downtime'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>2008000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100246</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml 
b/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml
index 94e990da0f..04fd9abfff 100644
--- a/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.9.0.ppc64.xml
@@ -138,6 +138,8 @@
    <flag name='fw_cfg'/>
    <flag name='migration-param.bandwidth'/>
    <flag name='migration-param.downtime'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>2009000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>42900247</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml
index 2990242a18..d984ad3066 100644
--- a/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml
@@ -184,6 +184,8 @@
    <flag name='fw_cfg'/>
    <flag name='migration-param.bandwidth'/>
    <flag name='migration-param.downtime'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>2009000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100247</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml 
b/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml
index 1ad4ef7d71..c92bb5f6a3 100644
--- a/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_3.0.0.ppc64.xml
@@ -167,6 +167,8 @@
    <flag name='migration-param.downtime'/>
    <flag name='migration-param.xbzrle-cache-size'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>2012050</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>42900239</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml
index 09d54e0f29..d7f1d6cd84 100644
--- a/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml
@@ -214,6 +214,8 @@
    <flag name='migration-param.downtime'/>
    <flag name='migration-param.xbzrle-cache-size'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>3000000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100239</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml 
b/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml
index 79cff6e4fb..f4b4566ea8 100644
--- a/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml
@@ -172,6 +172,8 @@
    <flag name='migration-param.downtime'/>
    <flag name='migration-param.xbzrle-cache-size'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>3000091</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>42900240</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml
index 5f291f5a0f..b8391f1353 100644
--- a/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml
@@ -217,6 +217,8 @@
    <flag name='migration-param.downtime'/>
    <flag name='migration-param.xbzrle-cache-size'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>3000092</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100240</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.aarch64.xml 
b/tests/qemucapabilitiesdata/caps_4.0.0.aarch64.xml
index 44ad2b260d..4722557eaf 100644
--- a/tests/qemucapabilitiesdata/caps_4.0.0.aarch64.xml
+++ b/tests/qemucapabilitiesdata/caps_4.0.0.aarch64.xml
@@ -178,6 +178,8 @@
    <flag name='migration-param.downtime'/>
    <flag name='migration-param.xbzrle-cache-size'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>4000000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>61700240</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.ppc64.xml 
b/tests/qemucapabilitiesdata/caps_4.0.0.ppc64.xml
index 3e6a19dce5..6f549902ca 100644
--- a/tests/qemucapabilitiesdata/caps_4.0.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_4.0.0.ppc64.xml
@@ -186,6 +186,8 @@
    <flag name='migration-param.downtime'/>
    <flag name='migration-param.xbzrle-cache-size'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>4000000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>42900240</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.riscv32.xml 
b/tests/qemucapabilitiesdata/caps_4.0.0.riscv32.xml
index 925d9a0735..b1dc08eb4d 100644
--- a/tests/qemucapabilitiesdata/caps_4.0.0.riscv32.xml
+++ b/tests/qemucapabilitiesdata/caps_4.0.0.riscv32.xml
@@ -179,6 +179,8 @@
    <flag name='migration-param.downtime'/>
    <flag name='migration-param.xbzrle-cache-size'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>4000000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>0</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.riscv64.xml 
b/tests/qemucapabilitiesdata/caps_4.0.0.riscv64.xml
index b5a61c16c8..babb8fb8ab 100644
--- a/tests/qemucapabilitiesdata/caps_4.0.0.riscv64.xml
+++ b/tests/qemucapabilitiesdata/caps_4.0.0.riscv64.xml
@@ -179,6 +179,8 @@
    <flag name='migration-param.downtime'/>
    <flag name='migration-param.xbzrle-cache-size'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>4000000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>0</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml
index 8319ee831f..43b70ccc94 100644
--- a/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml
@@ -223,6 +223,8 @@
    <flag name='migration-param.xbzrle-cache-size'/>
    <flag name='intel-iommu.aw-bits'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>4000000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100240</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.xml
index 44b22e2f70..58774fddcc 100644
--- a/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_4.1.0.x86_64.xml
@@ -229,6 +229,8 @@
    <flag name='migration-param.xbzrle-cache-size'/>
    <flag name='intel-iommu.aw-bits'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>4001000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100241</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_4.2.0.aarch64.xml 
b/tests/qemucapabilitiesdata/caps_4.2.0.aarch64.xml
index 640f8fe513..77fdc73415 100644
--- a/tests/qemucapabilitiesdata/caps_4.2.0.aarch64.xml
+++ b/tests/qemucapabilitiesdata/caps_4.2.0.aarch64.xml
@@ -191,6 +191,8 @@
    <flag name='migration-param.xbzrle-cache-size'/>
    <flag name='blockdev-hostdev-scsi'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>4001050</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>61700242</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_4.2.0.ppc64.xml 
b/tests/qemucapabilitiesdata/caps_4.2.0.ppc64.xml
index 252ecc5860..15eaac77a6 100644
--- a/tests/qemucapabilitiesdata/caps_4.2.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_4.2.0.ppc64.xml
@@ -192,6 +192,8 @@
    <flag name='migration-param.xbzrle-cache-size'/>
    <flag name='spapr-tpm-proxy'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>4001050</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>42900242</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_4.2.0.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_4.2.0.x86_64.xml
index bad4dce440..1ba8c09374 100644
--- a/tests/qemucapabilitiesdata/caps_4.2.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_4.2.0.x86_64.xml
@@ -238,6 +238,8 @@
    <flag name='intel-iommu.aw-bits'/>
    <flag name='blockdev-hostdev-scsi'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>4002000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100242</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml 
b/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml
index 8e4e888cd4..d584642bff 100644
--- a/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml
+++ b/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml
@@ -201,6 +201,8 @@
    <flag name='numa.hmat'/>
    <flag name='blockdev-hostdev-scsi'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>5000000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>61700241</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml 
b/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml
index e0519fe7eb..596bccd70a 100644
--- a/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml
@@ -210,6 +210,8 @@
    <flag name='numa.hmat'/>
    <flag name='blockdev-hostdev-scsi'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>5000000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>42900241</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.riscv64.xml 
b/tests/qemucapabilitiesdata/caps_5.0.0.riscv64.xml
index c9f7a24282..eb760f2911 100644
--- a/tests/qemucapabilitiesdata/caps_5.0.0.riscv64.xml
+++ b/tests/qemucapabilitiesdata/caps_5.0.0.riscv64.xml
@@ -197,6 +197,8 @@
    <flag name='numa.hmat'/>
    <flag name='blockdev-hostdev-scsi'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>5000000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>0</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.xml
index c897bd3c63..849727eb40 100644
--- a/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.xml
@@ -245,6 +245,8 @@
    <flag name='numa.hmat'/>
    <flag name='blockdev-hostdev-scsi'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>5000000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100241</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_5.1.0.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_5.1.0.x86_64.xml
index 8dd48812b9..ff5f42a563 100644
--- a/tests/qemucapabilitiesdata/caps_5.1.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_5.1.0.x86_64.xml
@@ -247,6 +247,8 @@
    <flag name='virtio-balloon.free-page-reporting'/>
    <flag name='netdev.vhost-vdpa'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>5001000</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100242</microcodeVersion>
diff --git a/tests/qemucapabilitiesdata/caps_5.2.0.x86_64.xml 
b/tests/qemucapabilitiesdata/caps_5.2.0.x86_64.xml
index 6706a8b8d4..5e9fa8575a 100644
--- a/tests/qemucapabilitiesdata/caps_5.2.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_5.2.0.x86_64.xml
@@ -249,6 +249,8 @@
    <flag name='block-export-add'/>
    <flag name='netdev.vhost-vdpa'/>
    <flag name='fsdev.createmode'/>
+  <flag name='dc390'/>
+  <flag name='am53c974'/>
    <version>5001091</version>
    <kvmVersion>0</kvmVersion>
    <microcodeVersion>43100243</microcodeVersion>


Reply via email to