]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: capabilities: fill in domcaps <memoryBacking>
authorKristina Hanicova <khanicov@redhat.com>
Thu, 15 Jul 2021 12:18:05 +0000 (14:18 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 15 Jul 2021 13:13:04 +0000 (15:13 +0200)
Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
63 files changed:
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
tests/domaincapsdata/qemu_2.11.0-q35.x86_64.xml
tests/domaincapsdata/qemu_2.11.0-tcg.x86_64.xml
tests/domaincapsdata/qemu_2.11.0.s390x.xml
tests/domaincapsdata/qemu_2.11.0.x86_64.xml
tests/domaincapsdata/qemu_2.12.0-q35.x86_64.xml
tests/domaincapsdata/qemu_2.12.0-tcg.x86_64.xml
tests/domaincapsdata/qemu_2.12.0-virt.aarch64.xml
tests/domaincapsdata/qemu_2.12.0.aarch64.xml
tests/domaincapsdata/qemu_2.12.0.ppc64.xml
tests/domaincapsdata/qemu_2.12.0.s390x.xml
tests/domaincapsdata/qemu_2.12.0.x86_64.xml
tests/domaincapsdata/qemu_3.0.0-q35.x86_64.xml
tests/domaincapsdata/qemu_3.0.0-tcg.x86_64.xml
tests/domaincapsdata/qemu_3.0.0.ppc64.xml
tests/domaincapsdata/qemu_3.0.0.s390x.xml
tests/domaincapsdata/qemu_3.0.0.x86_64.xml
tests/domaincapsdata/qemu_3.1.0-q35.x86_64.xml
tests/domaincapsdata/qemu_3.1.0-tcg.x86_64.xml
tests/domaincapsdata/qemu_3.1.0.ppc64.xml
tests/domaincapsdata/qemu_3.1.0.x86_64.xml
tests/domaincapsdata/qemu_4.0.0-q35.x86_64.xml
tests/domaincapsdata/qemu_4.0.0-tcg.x86_64.xml
tests/domaincapsdata/qemu_4.0.0-virt.aarch64.xml
tests/domaincapsdata/qemu_4.0.0.aarch64.xml
tests/domaincapsdata/qemu_4.0.0.ppc64.xml
tests/domaincapsdata/qemu_4.0.0.s390x.xml
tests/domaincapsdata/qemu_4.0.0.x86_64.xml
tests/domaincapsdata/qemu_4.1.0-q35.x86_64.xml
tests/domaincapsdata/qemu_4.1.0-tcg.x86_64.xml
tests/domaincapsdata/qemu_4.1.0.x86_64.xml
tests/domaincapsdata/qemu_4.2.0-q35.x86_64.xml
tests/domaincapsdata/qemu_4.2.0-tcg.x86_64.xml
tests/domaincapsdata/qemu_4.2.0-virt.aarch64.xml
tests/domaincapsdata/qemu_4.2.0.aarch64.xml
tests/domaincapsdata/qemu_4.2.0.ppc64.xml
tests/domaincapsdata/qemu_4.2.0.s390x.xml
tests/domaincapsdata/qemu_4.2.0.x86_64.xml
tests/domaincapsdata/qemu_5.0.0-q35.x86_64.xml
tests/domaincapsdata/qemu_5.0.0-tcg.x86_64.xml
tests/domaincapsdata/qemu_5.0.0-virt.aarch64.xml
tests/domaincapsdata/qemu_5.0.0.aarch64.xml
tests/domaincapsdata/qemu_5.0.0.ppc64.xml
tests/domaincapsdata/qemu_5.0.0.x86_64.xml
tests/domaincapsdata/qemu_5.1.0-q35.x86_64.xml
tests/domaincapsdata/qemu_5.1.0-tcg.x86_64.xml
tests/domaincapsdata/qemu_5.1.0.sparc.xml
tests/domaincapsdata/qemu_5.1.0.x86_64.xml
tests/domaincapsdata/qemu_5.2.0-q35.x86_64.xml
tests/domaincapsdata/qemu_5.2.0-tcg.x86_64.xml
tests/domaincapsdata/qemu_5.2.0-virt.aarch64.xml
tests/domaincapsdata/qemu_5.2.0.aarch64.xml
tests/domaincapsdata/qemu_5.2.0.ppc64.xml
tests/domaincapsdata/qemu_5.2.0.s390x.xml
tests/domaincapsdata/qemu_5.2.0.x86_64.xml
tests/domaincapsdata/qemu_6.0.0-q35.x86_64.xml
tests/domaincapsdata/qemu_6.0.0-tcg.x86_64.xml
tests/domaincapsdata/qemu_6.0.0.s390x.xml
tests/domaincapsdata/qemu_6.0.0.x86_64.xml
tests/domaincapsdata/qemu_6.1.0-q35.x86_64.xml
tests/domaincapsdata/qemu_6.1.0-tcg.x86_64.xml
tests/domaincapsdata/qemu_6.1.0.x86_64.xml

index d1cd8f11ac8c39f29025939de95e1eea98baf6fb..e0c3a0756866bf0fdb37f840f42ffc3719f9d022 100644 (file)
@@ -6005,6 +6005,26 @@ virQEMUCapsFillDomainFeaturesFromQEMUCaps(virQEMUCaps *qemuCaps,
 }
 
 
+void
+virQEMUCapsFillDomainMemoryBackingCaps(virQEMUCaps *qemuCaps,
+                                  virDomainCapsMemoryBacking *memoryBacking)
+{
+    memoryBacking->supported = VIR_TRISTATE_BOOL_YES;
+    memoryBacking->sourceType.report = true;
+
+    if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_OBJECT_MEMORY_MEMFD))
+        VIR_DOMAIN_CAPS_ENUM_SET(memoryBacking->sourceType,
+                                 VIR_DOMAIN_MEMORY_SOURCE_MEMFD);
+
+    if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_OBJECT_MEMORY_FILE))
+        VIR_DOMAIN_CAPS_ENUM_SET(memoryBacking->sourceType,
+                                 VIR_DOMAIN_MEMORY_SOURCE_FILE);
+
+    VIR_DOMAIN_CAPS_ENUM_SET(memoryBacking->sourceType,
+                             VIR_DOMAIN_MEMORY_SOURCE_ANONYMOUS);
+}
+
+
 static void
 virQEMUCapsFillDomainDeviceDiskCaps(virQEMUCaps *qemuCaps,
                                     const char *machine,
@@ -6322,6 +6342,7 @@ virQEMUCapsFillDomainCaps(virQEMUCaps *qemuCaps,
     virDomainCapsDeviceVideo *video = &domCaps->video;
     virDomainCapsDeviceRNG *rng = &domCaps->rng;
     virDomainCapsDeviceFilesystem *filesystem = &domCaps->filesystem;
+    virDomainCapsMemoryBacking *memoryBacking = &domCaps->memoryBacking;
 
     virQEMUCapsFillDomainFeaturesFromQEMUCaps(qemuCaps, domCaps);
 
@@ -6345,6 +6366,7 @@ virQEMUCapsFillDomainCaps(virQEMUCaps *qemuCaps,
         return -1;
 
     virQEMUCapsFillDomainCPUCaps(qemuCaps, hostarch, domCaps);
+    virQEMUCapsFillDomainMemoryBackingCaps(qemuCaps, memoryBacking);
     virQEMUCapsFillDomainDeviceDiskCaps(qemuCaps, domCaps->machine, disk);
     virQEMUCapsFillDomainDeviceGraphicsCaps(qemuCaps, graphics);
     virQEMUCapsFillDomainDeviceVideoCaps(qemuCaps, video);
index 7944b9170a84d8de50ecbe271ce266f872122363..368883f861f2dabe786c51399e8296dd222fa329 100644 (file)
@@ -775,6 +775,9 @@ int virQEMUCapsFillDomainCaps(virQEMUCaps *qemuCaps,
                               virFirmware **firmwares,
                               size_t nfirmwares);
 
+void virQEMUCapsFillDomainMemoryBackingCaps(virQEMUCaps *qemuCaps,
+                                            virDomainCapsMemoryBacking *memoryBacking);
+
 void virQEMUCapsFillDomainDeviceGraphicsCaps(virQEMUCaps *qemuCaps,
                                              virDomainCapsDeviceGraphics *dev);
 
index f5714298c1f2ed1a598b215b1ec667538e3ce184..e18b33e044cb9ce7f91e3cff3f08a2b8052d7e1e 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 1392f7c50e6bfcb65a73f842df1795816549900f..97402b1d4c3b041528d56c93d7d40247ee91723c 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index cd3ab38bc47d3644a176d6326ea6971a83557309..9593fa17b742976651694da7d99cd3fd08637473 100644 (file)
       <model usable='yes'>z990.3-base</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 0dde7c65c66caa99a16e869e840b3ed56b8903c9..83ebb741cc715abeabc10b9d081978beabe02ac2 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index f7db0b4cc7ac44fbd5571afec4fd830243ad1e0d..eb876a374847357ef134f63f54b0ee9f540a93aa 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index cb26512256399be7908973062f8ca5ca30a99364..2c9a7a1c22b8507d316a8e886350e8460c0a10d1 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index de41f9c859d46e9cc8b86e045a47098d0e14bc62..6407b7ca36d421e9994c5be4b76c95938fe2ca7a 100644 (file)
       <model usable='unknown'>pxa270</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 0d2ed1058e4c5af62b8925cffd0f734026c66e2d..27b717318a56a538a3ba355839c22bfc5a5c94d5 100644 (file)
       <model usable='unknown'>pxa270</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index e01f2c6fec39eddcf43b72367b4129897f480305..26006d2c081eea8668e3409206b5c76fc1e2fa39 100644 (file)
       <model usable='unknown'>POWER7</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 418db98294f5b4d1fe17e24a8dc3b5398b1cc598..f5851b9e238289c2acc62b3badba1c05f04ab29c 100644 (file)
       <model usable='yes'>z990.3-base</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 1ce380cea7985b87114b9b9e94fc101ea029a545..8d9cebe20c13edf7ca9b223a7b9b2430951596e1 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 6dfb6135b32442ebbb11cefc4aa0e78740fdc94d..20b30564f42ae33c9cfde863ce81857a206f8414 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 3c12f79f3a39d9ea5cea811cb19c657e4b00c864..45f578183efd51ecf2e689fcb9b0cbdd0e5ba001 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 86dd4a0c392161068cecc1a966641a5c56ecc023..36fc07f20c60f264fb55b99186a955e78bc924c2 100644 (file)
       <model usable='unknown'>POWER7</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index d4443bde20d11ca3fddd41dcad17d39ab21dc632..c298d6bf7197ba107070b56160e6a493f2a44f52 100644 (file)
       <model usable='yes'>z990.3-base</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 1abdc89c38f77b97d4ed23a26c929fe4a28e7880..19595be2b4343b4788bcb70ecea8830ddfc078b3 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index fd7fe4794a078410e7bed12154225fe894064549..62fbd05ccc47ca93709f1a2db43daf6db0dc1140 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 424c3e4e51005527fdac129b147cc040813b4c27..092a8db6b33fa870233414f255dd2d3c2781b5aa 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 65dc3fbd726ca56b290138975d04491473f9a7e4..a45bbc7fe514bb49e188b1de4e755a13025fc63e 100644 (file)
       <model usable='unknown'>POWER7</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 409fd223bd3ab9a0670597e6d75939ea5ea1b681..3c4b6d9e00c4c8be00d88477f14a9fb339bc32a1 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 89440e93124c6f9b1c3c8ca5eb58e13f852bb223..ba406ef7fdfbad0bf6a876e3b216d5697310fdc0 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 43eaa1c6aa9865620cff4a7e27f476c49b468214..72b5c236d2cd6a5149aa12b324b933f943a04aa1 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 7f8a3ef8cd77e72af3d05e214088a8caaa8c5376..5dd21b50dcf8545da7c4805891fef1b1dc7de6a6 100644 (file)
       <model usable='unknown'>pxa270</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 3570d5eec2a924d6ce9e4abb808d152f7ac9fbdf..fd0543974d6469a4d374a74846b7c48f54b74e3d 100644 (file)
       <model usable='unknown'>pxa270</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index c33967e51fd9f072db9017e4d100f6a7952e9914..ad1a1a399acff9fafbb5142093f9906389c1eeb4 100644 (file)
       <model usable='unknown'>POWER7</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index e0ff109ead52f6861a4328d48da67d6a9154eada..f1f4151635d640a766a40409249b35d1349f84a6 100644 (file)
       <model usable='yes'>z990.3-base</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index a4739c721a58f32c1e7c3eefc95c8b11ccc8c1dd..cd086b7e3a76f53955d1e7883bbe04994575060c 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 4d3659bce9ec2dea857074707e5a488edb016d78..233f49a21bfa6f445ea5119dec2043a2df13b41e 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 887c07d28f041535a8291c44e2251883813ad5bf..03ebf381d03e0ebcf9ea00328b600a963f76ea7e 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 4e07afd3d9076ae42acbbd3c428c567dd0f5529e..8806f2d8d64132ca59976baa3abad7d0e192e5fb 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 39646c7d1eed6142d4427bd8d2622ca1acc6445f..5df0f5f488076dc25338eedbe4fecdcececc2b5d 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 5d7cea0f414064132b90ef8af7a5c620aee2e595..2b306b27f3c69fd14ceff580ff0f872a2d64b793 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 740dc1f15eb50317cb1b976ca478c724c3dead9e..792bac12989b11ba41125b2c6cb466e07ddc6c82 100644 (file)
       <model usable='unknown'>pxa270</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index a923d30e767f473bf1a5da11820f71afede69ad9..7b6f3a851a2be780b15b9a68821f8be44684da57 100644 (file)
       <model usable='unknown'>pxa270</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index b09e401d5cbc95b2e7763d2cee2a15f3e7c3ec4f..728f4e87fcb5a6fbeef9094b01917ae3f5e23dcf 100644 (file)
       <model usable='unknown'>POWER7</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index a610c417f72de133570d014ba934425b4d1cd898..febda17e6c09ccade166e693aa933dc7b6243cba 100644 (file)
       <model usable='no'>qemu</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 36e8bd2ff3eeb0e168acc7abb53615330c58eddf..fd8d3a86562de8db0d333410c1a97348aa93830d 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 4f7d1bdbbc82aea1f7b89f65207754767c883c61..941d65431e788a72afd2e4928faa065ecd82b06d 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 97d1819482185bad11418fbdaf866c7abbfb42e6..98511dffd7d9393164ea7a9c153f795a10d38613 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index dcad3b3833e52026226bc0ba0f20d61d99b6abf2..d673ddfaad3d070240695f55aaca130ca19c5d42 100644 (file)
       <model usable='unknown'>pxa262</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index ada3ebdb2b1d52efaa55f3ef8d5a2f09aab23b4a..b879287180f1c9634daced61eb1426d05020af75 100644 (file)
       <model usable='unknown'>pxa262</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 650188606cbe83e50b8c28364f9e6d6e4631c4e8..14d0bc3eafbd5de9533a6a88e8dcca92ab9b6fa5 100644 (file)
       <model usable='unknown'>POWER7</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 2bb72027ba8ea661eef279586c368db0de2d58d3..6bab719f7eed288b56b02d27daa1f91e3518ff1d 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 95d44575fd16f0fcbe321207e4013908ec417bf1..addffcd0805fda24de0830b16111ad8bb57fe113 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 3a4ec231f3b868db32eee06cbf20a2e6f61b6fd0..5a094acbdb38896658f5a61b77281ff26f3c7cc1 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 6f85a768e24bb6b2d78465acb830001dd72d95f2..ddcffd9d446f0f551bb7acd564489bef61ed694b 100644 (file)
     <mode name='host-model' supported='no'/>
     <mode name='custom' supported='no'/>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 98dfb971a2619cfa2d0a01cad5e0b2640fc36c7e..428c6e30e80e0d992867a34b6b2670bc9c453b29 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 1712c2113b1d7d049eb14c41f978197d2f654f00..db262241c7ff2255555efeb64d01aaa07f90c011 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 754046fb6dc440194c0b3429f1b45d5b8f61117a..4538cf0dc888a5f64831c0bb81dd3eed6908956f 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 27776a667b3f5817c0f155fb1c809d7d5d33fbe7..fb1118e33e3e4f4916076176cbe3196f53a2761e 100644 (file)
       <model usable='unknown'>pxa262</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index ada3ebdb2b1d52efaa55f3ef8d5a2f09aab23b4a..b879287180f1c9634daced61eb1426d05020af75 100644 (file)
       <model usable='unknown'>pxa262</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 211f7b8ac637840169b29b4b22ecbb32c5a8feca..094295ff29e3945cb9c4c2db6a020ce07ff078df 100644 (file)
       <model usable='unknown'>POWER7</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 43905a6a85ca9662339cf445771ab9dce0e5ddaf..2d389c4c8951594210dad5424e60328810f345a3 100644 (file)
       <model usable='yes'>qemu</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index daf43d222c6330938faf844e47b8a8bb448d9077..a6a8f0ab4361a6b81f58eae5d2910de2e772d3e7 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 98edd3e37dfeddf5066777d508874bcf808b1710..b7ac45c73166e06970176439e063d3ba7f36e1d2 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 7b4cd0160aa3b34897cb9d624b6a24a44dd8ea7b..6f53b3ea0f01257c73d2bc34552614528b0d67ba 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index d384f0859b491b9949cbb9e44451345da1a0e28c..49663bbdd3a2cf038a2bbf5d7c38e2ee2414c4c0 100644 (file)
       <model usable='yes'>qemu</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 7122c89497270de213365642407dd438656ce71a..71aefb5bff802407fdce91665f473840f6163e1f 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 057824d795a2cfdc53c3870da686fbcc311f1245..62bc6bdf054979863e201b52a5c30d41b4d18257 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 6c842072314334f9bd7c1a31f738c233c60d83d3..69d5f7e4043ca33b6e3307ae49d2be42948dd311 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>
index 1934035547027a84fa50b2ca6ca14b8062b3cd7b..a21c131d41b5aedf100e9462305d252a0eb3db21 100644 (file)
       <model usable='yes'>486</model>
     </mode>
   </cpu>
+  <memoryBacking supported='yes'>
+    <enum name='sourceType'>
+      <value>file</value>
+      <value>anonymous</value>
+      <value>memfd</value>
+    </enum>
+  </memoryBacking>
   <devices>
     <disk supported='yes'>
       <enum name='diskDevice'>