Blame SOURCES/libvirt-qemu_capabilities-Detect-memory-backend-.prealloc-threads-property.patch

4aa5c4
From c387e7680c07d7dbb934dbe972e99ab78cebad28 Mon Sep 17 00:00:00 2001
4aa5c4
Message-Id: <c387e7680c07d7dbb934dbe972e99ab78cebad28@dist-git>
4aa5c4
From: Michal Privoznik <mprivozn@redhat.com>
4aa5c4
Date: Mon, 21 Mar 2022 16:55:05 +0100
4aa5c4
Subject: [PATCH] qemu_capabilities: Detect memory-backend-*.prealloc-threads
4aa5c4
 property
4aa5c4
4aa5c4
The prealloc-threads is property of memory-backend class which is
4aa5c4
parent to the other three classes memory-backend-{ram,file,memfd}.
4aa5c4
Therefore the property is present for all, or none if QEMU is
4aa5c4
older than v5.0.0-rc0~75^2~1^2~3 which introduced the property.
4aa5c4
4aa5c4
Anyway, the .reserve property is the same story, and we chose
4aa5c4
memory-backend-file to detect it, so stick with our earlier
4aa5c4
decision and use the same backend to detect this new property.
4aa5c4
4aa5c4
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
4aa5c4
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
4aa5c4
(cherry picked from commit a30dac15dcdb7a6c7a3e9b6cfc5cd77bae185081)
4aa5c4
4aa5c4
Conflicts:
4aa5c4
src/qemu/qemu_capabilities.c: Context
4aa5c4
src/qemu/qemu_capabilities.h
4aa5c4
tests/qemucapabilitiesdata/caps_5.2.0.aarch64.xml
4aa5c4
tests/qemucapabilitiesdata/caps_5.2.0.ppc64.xml
4aa5c4
tests/qemucapabilitiesdata/caps_5.2.0.riscv64.xml
4aa5c4
tests/qemucapabilitiesdata/caps_5.2.0.s390x.xml
4aa5c4
tests/qemucapabilitiesdata/caps_5.2.0.x86_64.xml
4aa5c4
tests/qemucapabilitiesdata/caps_6.0.0.aarch64.xml
4aa5c4
tests/qemucapabilitiesdata/caps_6.0.0.s390x.xml
4aa5c4
tests/qemucapabilitiesdata/caps_6.0.0.x86_64.xml
4aa5c4
tests/qemucapabilitiesdata/caps_6.1.0.x86_64.xml
4aa5c4
tests/qemucapabilitiesdata/caps_6.2.0.aarch64.xml
4aa5c4
tests/qemucapabilitiesdata/caps_6.2.0.ppc64.xml
4aa5c4
tests/qemucapabilitiesdata/caps_6.2.0.x86_64.xml
4aa5c4
tests/qemucapabilitiesdata/caps_7.0.0.ppc64.xml
4aa5c4
tests/qemucapabilitiesdata/caps_7.0.0.x86_64.xml
4aa5c4
4aa5c4
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2067126
4aa5c4
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
4aa5c4
---
4aa5c4
 src/qemu/qemu_capabilities.c                      | 2 ++
4aa5c4
 src/qemu/qemu_capabilities.h                      | 1 +
4aa5c4
 tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml | 1 +
4aa5c4
 tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml   | 1 +
4aa5c4
 tests/qemucapabilitiesdata/caps_5.0.0.riscv64.xml | 1 +
4aa5c4
 tests/qemucapabilitiesdata/caps_5.0.0.x86_64.xml  | 1 +
4aa5c4
 tests/qemucapabilitiesdata/caps_5.1.0.sparc.xml   | 1 +
4aa5c4
 tests/qemucapabilitiesdata/caps_5.1.0.x86_64.xml  | 1 +
4aa5c4
 tests/qemucapabilitiesdata/caps_5.2.0.aarch64.xml | 1 +
4aa5c4
 tests/qemucapabilitiesdata/caps_5.2.0.ppc64.xml   | 1 +
4aa5c4
 tests/qemucapabilitiesdata/caps_5.2.0.riscv64.xml | 1 +
4aa5c4
 tests/qemucapabilitiesdata/caps_5.2.0.s390x.xml   | 1 +
4aa5c4
 tests/qemucapabilitiesdata/caps_5.2.0.x86_64.xml  | 1 +
4aa5c4
 tests/qemucapabilitiesdata/caps_6.0.0.aarch64.xml | 1 +
4aa5c4
 tests/qemucapabilitiesdata/caps_6.0.0.s390x.xml   | 1 +
4aa5c4
 tests/qemucapabilitiesdata/caps_6.0.0.x86_64.xml  | 1 +
4aa5c4
 tests/qemucapabilitiesdata/caps_6.1.0.x86_64.xml  | 1 +
4aa5c4
 tests/qemucapabilitiesdata/caps_6.2.0.aarch64.xml | 1 +
4aa5c4
 tests/qemucapabilitiesdata/caps_6.2.0.ppc64.xml   | 1 +
4aa5c4
 tests/qemucapabilitiesdata/caps_6.2.0.x86_64.xml  | 1 +
4aa5c4
 20 files changed, 21 insertions(+)
4aa5c4
4aa5c4
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
4aa5c4
index 8ae80ef8d7..c4f7db55c8 100644
4aa5c4
--- a/src/qemu/qemu_capabilities.c
4aa5c4
+++ b/src/qemu/qemu_capabilities.c
4aa5c4
@@ -657,6 +657,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
4aa5c4
 
4aa5c4
               /* 420 */
4aa5c4
               "blockdev-reopen.__com.redhat_rhel-av-8_2_0-api", /* QEMU_CAPS_BLOCKDEV_REOPEN_COM_REDHAT_AV_8_2_0_API */
4aa5c4
+              "memory-backend-file.prealloc-threads", /* QEMU_CAPS_MEMORY_BACKEND_PREALLOC_THREADS */
4aa5c4
     );
4aa5c4
 
4aa5c4
 
4aa5c4
@@ -1713,6 +1714,7 @@ static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsMemoryBackendFile[] =
4aa5c4
      * released qemu versions. */
4aa5c4
     { "x-use-canonical-path-for-ramblock-id", QEMU_CAPS_X_USE_CANONICAL_PATH_FOR_RAMBLOCK_ID },
4aa5c4
     { "reserve", QEMU_CAPS_MEMORY_BACKEND_RESERVE },
4aa5c4
+    { "prealloc-threads", QEMU_CAPS_MEMORY_BACKEND_PREALLOC_THREADS },
4aa5c4
 };
4aa5c4
 
4aa5c4
 static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsMemoryBackendMemfd[] = {
4aa5c4
diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h
4aa5c4
index cde6c18b4c..8e65635e0d 100644
4aa5c4
--- a/src/qemu/qemu_capabilities.h
4aa5c4
+++ b/src/qemu/qemu_capabilities.h
4aa5c4
@@ -636,6 +636,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
4aa5c4
 
4aa5c4
     /* 420 */
4aa5c4
     QEMU_CAPS_BLOCKDEV_REOPEN_COM_REDHAT_AV_8_2_0_API, /* downstream support for blockdev reopen in rhel-av-8.2.0 */
4aa5c4
+    QEMU_CAPS_MEMORY_BACKEND_PREALLOC_THREADS, /* -object memory-backend-*.prealloc-threads */
4aa5c4
 
4aa5c4
     QEMU_CAPS_LAST /* this must always be the last item */
4aa5c4
 } virQEMUCapsFlags;
4aa5c4
diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml b/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml
4aa5c4
index bb6a7d5ee7..3b18f160db 100644
4aa5c4
--- a/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml
4aa5c4
+++ b/tests/qemucapabilitiesdata/caps_5.0.0.aarch64.xml
4aa5c4
@@ -179,6 +179,7 @@
4aa5c4
   <flag name='input-linux'/>
4aa5c4
   <flag name='query-display-options'/>
4aa5c4
   <flag name='virtio-blk.queue-size'/>
4aa5c4
+  <flag name='memory-backend-file.prealloc-threads'/>
4aa5c4
   <version>5000000</version>
4aa5c4
   <kvmVersion>0</kvmVersion>
4aa5c4
   <microcodeVersion>61700241</microcodeVersion>
4aa5c4
diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml b/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml
4aa5c4
index f8317c1117..c90f2be296 100644
4aa5c4
--- a/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml
4aa5c4
+++ b/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml
4aa5c4
@@ -187,6 +187,7 @@
4aa5c4
   <flag name='input-linux'/>
4aa5c4
   <flag name='query-display-options'/>
4aa5c4
   <flag name='virtio-blk.queue-size'/>
4aa5c4
+  <flag name='memory-backend-file.prealloc-threads'/>
4aa5c4
   <version>5000000</version>
4aa5c4
   <kvmVersion>0</kvmVersion>
4aa5c4
   <microcodeVersion>42900241</microcodeVersion>
4aa5c4
diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.riscv64.xml b/tests/qemucapabilitiesdata/caps_5.0.0.riscv64.xml
4aa5c4
index 58c7eb6651..8fbe8f114f 100644
4aa5c4
--- a/tests/qemucapabilitiesdata/caps_5.0.0.riscv64.xml
4aa5c4
+++ b/tests/qemucapabilitiesdata/caps_5.0.0.riscv64.xml
4aa5c4
@@ -171,6 +171,7 @@
4aa5c4
   <flag name='input-linux'/>
4aa5c4
   <flag name='query-display-options'/>
4aa5c4
   <flag name='virtio-blk.queue-size'/>
4aa5c4
+  <flag name='memory-backend-file.prealloc-threads'/>
4aa5c4
   <version>5000000</version>
4aa5c4
   <kvmVersion>0</kvmVersion>
4aa5c4
   <microcodeVersion>0</microcodeVersion>
4aa5c4
diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.xml b/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.xml
4aa5c4
index 69f49020e7..b76c4346a4 100644
4aa5c4
--- a/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.xml
4aa5c4
+++ b/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.xml
4aa5c4
@@ -221,6 +221,7 @@
4aa5c4
   <flag name='input-linux'/>
4aa5c4
   <flag name='query-display-options'/>
4aa5c4
   <flag name='virtio-blk.queue-size'/>
4aa5c4
+  <flag name='memory-backend-file.prealloc-threads'/>
4aa5c4
   <version>5000000</version>
4aa5c4
   <kvmVersion>0</kvmVersion>
4aa5c4
   <microcodeVersion>43100241</microcodeVersion>
4aa5c4
diff --git a/tests/qemucapabilitiesdata/caps_5.1.0.sparc.xml b/tests/qemucapabilitiesdata/caps_5.1.0.sparc.xml
4aa5c4
index 58af90b29f..7de7c291f5 100644
4aa5c4
--- a/tests/qemucapabilitiesdata/caps_5.1.0.sparc.xml
4aa5c4
+++ b/tests/qemucapabilitiesdata/caps_5.1.0.sparc.xml
4aa5c4
@@ -90,6 +90,7 @@
4aa5c4
   <flag name='rotation-rate'/>
4aa5c4
   <flag name='input-linux'/>
4aa5c4
   <flag name='query-display-options'/>
4aa5c4
+  <flag name='memory-backend-file.prealloc-threads'/>
4aa5c4
   <version>5001000</version>
4aa5c4
   <kvmVersion>0</kvmVersion>
4aa5c4
   <microcodeVersion>0</microcodeVersion>
4aa5c4
diff --git a/tests/qemucapabilitiesdata/caps_5.1.0.x86_64.xml b/tests/qemucapabilitiesdata/caps_5.1.0.x86_64.xml
4aa5c4
index 578e16e8b0..9b5cb3cd7a 100644
4aa5c4
--- a/tests/qemucapabilitiesdata/caps_5.1.0.x86_64.xml
4aa5c4
+++ b/tests/qemucapabilitiesdata/caps_5.1.0.x86_64.xml
4aa5c4
@@ -224,6 +224,7 @@
4aa5c4
   <flag name='query-display-options'/>
4aa5c4
   <flag name='virtio-blk.queue-size'/>
4aa5c4
   <flag name='virtio-mem-pci'/>
4aa5c4
+  <flag name='memory-backend-file.prealloc-threads'/>
4aa5c4
   <version>5001000</version>
4aa5c4
   <kvmVersion>0</kvmVersion>
4aa5c4
   <microcodeVersion>43100242</microcodeVersion>
4aa5c4
diff --git a/tests/qemucapabilitiesdata/caps_5.2.0.aarch64.xml b/tests/qemucapabilitiesdata/caps_5.2.0.aarch64.xml
4aa5c4
index b943eaedaf..020c04c1c4 100644
4aa5c4
--- a/tests/qemucapabilitiesdata/caps_5.2.0.aarch64.xml
4aa5c4
+++ b/tests/qemucapabilitiesdata/caps_5.2.0.aarch64.xml
4aa5c4
@@ -184,6 +184,7 @@
4aa5c4
   <flag name='query-display-options'/>
4aa5c4
   <flag name='virtio-blk.queue-size'/>
4aa5c4
   <flag name='query-dirty-rate'/>
4aa5c4
+  <flag name='memory-backend-file.prealloc-threads'/>
4aa5c4
   <version>5002000</version>
4aa5c4
   <kvmVersion>0</kvmVersion>
4aa5c4
   <microcodeVersion>61700243</microcodeVersion>
4aa5c4
diff --git a/tests/qemucapabilitiesdata/caps_5.2.0.ppc64.xml b/tests/qemucapabilitiesdata/caps_5.2.0.ppc64.xml
4aa5c4
index ec64e1cacf..5346b1552c 100644
4aa5c4
--- a/tests/qemucapabilitiesdata/caps_5.2.0.ppc64.xml
4aa5c4
+++ b/tests/qemucapabilitiesdata/caps_5.2.0.ppc64.xml
4aa5c4
@@ -190,6 +190,7 @@
4aa5c4
   <flag name='query-display-options'/>
4aa5c4
   <flag name='virtio-blk.queue-size'/>
4aa5c4
   <flag name='query-dirty-rate'/>
4aa5c4
+  <flag name='memory-backend-file.prealloc-threads'/>
4aa5c4
   <version>5002000</version>
4aa5c4
   <kvmVersion>0</kvmVersion>
4aa5c4
   <microcodeVersion>42900243</microcodeVersion>
4aa5c4
diff --git a/tests/qemucapabilitiesdata/caps_5.2.0.riscv64.xml b/tests/qemucapabilitiesdata/caps_5.2.0.riscv64.xml
4aa5c4
index a11d15f91a..9f6974f85d 100644
4aa5c4
--- a/tests/qemucapabilitiesdata/caps_5.2.0.riscv64.xml
4aa5c4
+++ b/tests/qemucapabilitiesdata/caps_5.2.0.riscv64.xml
4aa5c4
@@ -174,6 +174,7 @@
4aa5c4
   <flag name='query-display-options'/>
4aa5c4
   <flag name='virtio-blk.queue-size'/>
4aa5c4
   <flag name='query-dirty-rate'/>
4aa5c4
+  <flag name='memory-backend-file.prealloc-threads'/>
4aa5c4
   <version>5002000</version>
4aa5c4
   <kvmVersion>0</kvmVersion>
4aa5c4
   <microcodeVersion>0</microcodeVersion>
4aa5c4
diff --git a/tests/qemucapabilitiesdata/caps_5.2.0.s390x.xml b/tests/qemucapabilitiesdata/caps_5.2.0.s390x.xml
4aa5c4
index 552e1d43c9..44753b64c3 100644
4aa5c4
--- a/tests/qemucapabilitiesdata/caps_5.2.0.s390x.xml
4aa5c4
+++ b/tests/qemucapabilitiesdata/caps_5.2.0.s390x.xml
4aa5c4
@@ -141,6 +141,7 @@
4aa5c4
   <flag name='query-display-options'/>
4aa5c4
   <flag name='virtio-blk.queue-size'/>
4aa5c4
   <flag name='query-dirty-rate'/>
4aa5c4
+  <flag name='memory-backend-file.prealloc-threads'/>
4aa5c4
   <version>5002000</version>
4aa5c4
   <kvmVersion>0</kvmVersion>
4aa5c4
   <microcodeVersion>39100243</microcodeVersion>
4aa5c4
diff --git a/tests/qemucapabilitiesdata/caps_5.2.0.x86_64.xml b/tests/qemucapabilitiesdata/caps_5.2.0.x86_64.xml
4aa5c4
index bcc262551a..db11c99739 100644
4aa5c4
--- a/tests/qemucapabilitiesdata/caps_5.2.0.x86_64.xml
4aa5c4
+++ b/tests/qemucapabilitiesdata/caps_5.2.0.x86_64.xml
4aa5c4
@@ -227,6 +227,7 @@
4aa5c4
   <flag name='virtio-mem-pci'/>
4aa5c4
   <flag name='piix4.acpi-root-pci-hotplug'/>
4aa5c4
   <flag name='query-dirty-rate'/>
4aa5c4
+  <flag name='memory-backend-file.prealloc-threads'/>
4aa5c4
   <version>5002000</version>
4aa5c4
   <kvmVersion>0</kvmVersion>
4aa5c4
   <microcodeVersion>43100243</microcodeVersion>
4aa5c4
diff --git a/tests/qemucapabilitiesdata/caps_6.0.0.aarch64.xml b/tests/qemucapabilitiesdata/caps_6.0.0.aarch64.xml
4aa5c4
index 0fefe64537..5f9a97df43 100644
4aa5c4
--- a/tests/qemucapabilitiesdata/caps_6.0.0.aarch64.xml
4aa5c4
+++ b/tests/qemucapabilitiesdata/caps_6.0.0.aarch64.xml
4aa5c4
@@ -192,6 +192,7 @@
4aa5c4
   <flag name='set-action'/>
4aa5c4
   <flag name='virtio-blk.queue-size'/>
4aa5c4
   <flag name='query-dirty-rate'/>
4aa5c4
+  <flag name='memory-backend-file.prealloc-threads'/>
4aa5c4
   <version>6000000</version>
4aa5c4
   <kvmVersion>0</kvmVersion>
4aa5c4
   <microcodeVersion>61700242</microcodeVersion>
4aa5c4
diff --git a/tests/qemucapabilitiesdata/caps_6.0.0.s390x.xml b/tests/qemucapabilitiesdata/caps_6.0.0.s390x.xml
4aa5c4
index 61685066b8..46bd1d3d2d 100644
4aa5c4
--- a/tests/qemucapabilitiesdata/caps_6.0.0.s390x.xml
4aa5c4
+++ b/tests/qemucapabilitiesdata/caps_6.0.0.s390x.xml
4aa5c4
@@ -149,6 +149,7 @@
4aa5c4
   <flag name='set-action'/>
4aa5c4
   <flag name='virtio-blk.queue-size'/>
4aa5c4
   <flag name='query-dirty-rate'/>
4aa5c4
+  <flag name='memory-backend-file.prealloc-threads'/>
4aa5c4
   <version>6000000</version>
4aa5c4
   <kvmVersion>0</kvmVersion>
4aa5c4
   <microcodeVersion>39100242</microcodeVersion>
4aa5c4
diff --git a/tests/qemucapabilitiesdata/caps_6.0.0.x86_64.xml b/tests/qemucapabilitiesdata/caps_6.0.0.x86_64.xml
4aa5c4
index 0d6763e9a3..99bbb6e237 100644
4aa5c4
--- a/tests/qemucapabilitiesdata/caps_6.0.0.x86_64.xml
4aa5c4
+++ b/tests/qemucapabilitiesdata/caps_6.0.0.x86_64.xml
4aa5c4
@@ -236,6 +236,7 @@
4aa5c4
   <flag name='piix4.acpi-root-pci-hotplug'/>
4aa5c4
   <flag name='query-dirty-rate'/>
4aa5c4
   <flag name='sev-inject-launch-secret'/>
4aa5c4
+  <flag name='memory-backend-file.prealloc-threads'/>
4aa5c4
   <version>6000000</version>
4aa5c4
   <kvmVersion>0</kvmVersion>
4aa5c4
   <microcodeVersion>43100242</microcodeVersion>
4aa5c4
diff --git a/tests/qemucapabilitiesdata/caps_6.1.0.x86_64.xml b/tests/qemucapabilitiesdata/caps_6.1.0.x86_64.xml
4aa5c4
index 228f397c67..ff0715e605 100644
4aa5c4
--- a/tests/qemucapabilitiesdata/caps_6.1.0.x86_64.xml
4aa5c4
+++ b/tests/qemucapabilitiesdata/caps_6.1.0.x86_64.xml
4aa5c4
@@ -240,6 +240,7 @@
4aa5c4
   <flag name='query-dirty-rate'/>
4aa5c4
   <flag name='rbd-encryption'/>
4aa5c4
   <flag name='sev-inject-launch-secret'/>
4aa5c4
+  <flag name='memory-backend-file.prealloc-threads'/>
4aa5c4
   <version>6001000</version>
4aa5c4
   <kvmVersion>0</kvmVersion>
4aa5c4
   <microcodeVersion>43100243</microcodeVersion>
4aa5c4
diff --git a/tests/qemucapabilitiesdata/caps_6.2.0.aarch64.xml b/tests/qemucapabilitiesdata/caps_6.2.0.aarch64.xml
4aa5c4
index 6bf9933bc5..dd6f0e6919 100644
4aa5c4
--- a/tests/qemucapabilitiesdata/caps_6.2.0.aarch64.xml
4aa5c4
+++ b/tests/qemucapabilitiesdata/caps_6.2.0.aarch64.xml
4aa5c4
@@ -203,6 +203,7 @@
4aa5c4
   <flag name='memory-backend-file.reserve'/>
4aa5c4
   <flag name='query-dirty-rate'/>
4aa5c4
   <flag name='rbd-encryption'/>
4aa5c4
+  <flag name='memory-backend-file.prealloc-threads'/>
4aa5c4
   <version>6001050</version>
4aa5c4
   <kvmVersion>0</kvmVersion>
4aa5c4
   <microcodeVersion>61700244</microcodeVersion>
4aa5c4
diff --git a/tests/qemucapabilitiesdata/caps_6.2.0.ppc64.xml b/tests/qemucapabilitiesdata/caps_6.2.0.ppc64.xml
4aa5c4
index 06cd7fb396..2646cdf88f 100644
4aa5c4
--- a/tests/qemucapabilitiesdata/caps_6.2.0.ppc64.xml
4aa5c4
+++ b/tests/qemucapabilitiesdata/caps_6.2.0.ppc64.xml
4aa5c4
@@ -199,6 +199,7 @@
4aa5c4
   <flag name='piix4.acpi-root-pci-hotplug'/>
4aa5c4
   <flag name='query-dirty-rate'/>
4aa5c4
   <flag name='rbd-encryption'/>
4aa5c4
+  <flag name='memory-backend-file.prealloc-threads'/>
4aa5c4
   <version>6001050</version>
4aa5c4
   <kvmVersion>0</kvmVersion>
4aa5c4
   <microcodeVersion>42900244</microcodeVersion>
4aa5c4
diff --git a/tests/qemucapabilitiesdata/caps_6.2.0.x86_64.xml b/tests/qemucapabilitiesdata/caps_6.2.0.x86_64.xml
4aa5c4
index 75aaeed03c..f25ec1b84a 100644
4aa5c4
--- a/tests/qemucapabilitiesdata/caps_6.2.0.x86_64.xml
4aa5c4
+++ b/tests/qemucapabilitiesdata/caps_6.2.0.x86_64.xml
4aa5c4
@@ -241,6 +241,7 @@
4aa5c4
   <flag name='rbd-encryption'/>
4aa5c4
   <flag name='sev-guest-kernel-hashes'/>
4aa5c4
   <flag name='sev-inject-launch-secret'/>
4aa5c4
+  <flag name='memory-backend-file.prealloc-threads'/>
4aa5c4
   <version>6002000</version>
4aa5c4
   <kvmVersion>0</kvmVersion>
4aa5c4
   <microcodeVersion>43100244</microcodeVersion>
4aa5c4
-- 
4aa5c4
2.35.1
4aa5c4