]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Advertise migratable attribute for CPU in domcaps
authorJiri Denemark <jdenemar@redhat.com>
Tue, 2 Jun 2020 22:28:10 +0000 (00:28 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 9 Jun 2020 18:32:50 +0000 (20:32 +0200)
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
71 files changed:
src/qemu/qemu_capabilities.c
tests/domaincapsdata/qemu_1.5.3-q35.x86_64.xml
tests/domaincapsdata/qemu_1.5.3.x86_64.xml
tests/domaincapsdata/qemu_1.6.0-q35.x86_64.xml
tests/domaincapsdata/qemu_1.6.0.x86_64.xml
tests/domaincapsdata/qemu_1.7.0-q35.x86_64.xml
tests/domaincapsdata/qemu_1.7.0.x86_64.xml
tests/domaincapsdata/qemu_2.1.1-q35.x86_64.xml
tests/domaincapsdata/qemu_2.1.1.x86_64.xml
tests/domaincapsdata/qemu_2.10.0-q35.x86_64.xml
tests/domaincapsdata/qemu_2.10.0-virt.aarch64.xml
tests/domaincapsdata/qemu_2.10.0.aarch64.xml
tests/domaincapsdata/qemu_2.10.0.ppc64.xml
tests/domaincapsdata/qemu_2.10.0.s390x.xml
tests/domaincapsdata/qemu_2.10.0.x86_64.xml
tests/domaincapsdata/qemu_2.11.0-q35.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-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_2.4.0-q35.x86_64.xml
tests/domaincapsdata/qemu_2.4.0.x86_64.xml
tests/domaincapsdata/qemu_2.5.0-q35.x86_64.xml
tests/domaincapsdata/qemu_2.5.0.x86_64.xml
tests/domaincapsdata/qemu_2.6.0-q35.x86_64.xml
tests/domaincapsdata/qemu_2.6.0-virt.aarch64.xml
tests/domaincapsdata/qemu_2.6.0.aarch64.xml
tests/domaincapsdata/qemu_2.6.0.ppc64.xml
tests/domaincapsdata/qemu_2.6.0.x86_64.xml
tests/domaincapsdata/qemu_2.7.0-q35.x86_64.xml
tests/domaincapsdata/qemu_2.7.0.s390x.xml
tests/domaincapsdata/qemu_2.7.0.x86_64.xml
tests/domaincapsdata/qemu_2.8.0-q35.x86_64.xml
tests/domaincapsdata/qemu_2.8.0.s390x.xml
tests/domaincapsdata/qemu_2.8.0.x86_64.xml
tests/domaincapsdata/qemu_2.9.0-q35.x86_64.xml
tests/domaincapsdata/qemu_2.9.0.ppc64.xml
tests/domaincapsdata/qemu_2.9.0.s390x.xml
tests/domaincapsdata/qemu_2.9.0.x86_64.xml
tests/domaincapsdata/qemu_3.0.0-q35.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.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-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.x86_64.xml
tests/domaincapsdata/qemu_4.2.0-q35.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-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.x86_64.xml

index 7a976b6bbcc1cf8ba39b9ecaabf659bea6d783b3..bd3b26d0d9cb3d1d704bea74b304d07ff65662eb 100644 (file)
@@ -5857,9 +5857,18 @@ virQEMUCapsFillDomainCPUCaps(virQEMUCapsPtr qemuCaps,
 {
     if (virQEMUCapsIsCPUModeSupported(qemuCaps, hostarch, domCaps->virttype,
                                       VIR_CPU_MODE_HOST_PASSTHROUGH,
-                                      domCaps->machine))
+                                      domCaps->machine)) {
         domCaps->cpu.hostPassthrough = true;
 
+        domCaps->cpu.hostPassthroughMigratable.report = true;
+        if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_CPU_MIGRATABLE)) {
+            VIR_DOMAIN_CAPS_ENUM_SET(domCaps->cpu.hostPassthroughMigratable,
+                                     VIR_TRISTATE_SWITCH_ON);
+        }
+        VIR_DOMAIN_CAPS_ENUM_SET(domCaps->cpu.hostPassthroughMigratable,
+                                 VIR_TRISTATE_SWITCH_OFF);
+    }
+
     if (virQEMUCapsIsCPUModeSupported(qemuCaps, hostarch, domCaps->virttype,
                                       VIR_CPU_MODE_HOST_MODEL,
                                       domCaps->machine)) {
index b9b9dd0538d600b5ea39632ac182d217c9b6c236..3ed96a3ee74f8e7810ad8522c45e9a41802172b1 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>Broadwell</model>
     </mode>
index c36295b3e598564adbd5acb2a6df377ad73262a8..20cd3a105a2706d182c20e49f30c3a89ed271592 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>Broadwell</model>
     </mode>
index 56ad885feb19848201df96e50cdce39a1105b4af..a4b26b46cb081fcef613eba59952e7c7f432dc58 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>Broadwell</model>
     </mode>
index 3d4f7f1ceee65ce46713025e9d87a246066d53b5..16417a13d2e3ae3ce359c16412668547e9b167f9 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>Broadwell</model>
     </mode>
index 7a8b58bffe2f858f8695c36c58e793a310f84690..559b49491e4d3fe4bdb88301c657711018d3a802 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>Broadwell</model>
     </mode>
index c9dfb2e123aeacd15848d0f9fd2840b2e4f935dc..472c073de99f81af968910541d5aa918a5da5d2c 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>Broadwell</model>
     </mode>
index 0bf035ce58e08ee0587982d75661a9712f8691d0..a87f5b2a63a6ea95c1ad49efd5d6be371ee0c084 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>Broadwell</model>
     </mode>
index 23a8509698914042a44428a383f5eaf676b394f5..15adfe0ee817185032b229c8e5b3e481b3292c3c 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>Broadwell</model>
     </mode>
index 70332647194efcdc62d6f63a19c4099716b5017a..be2840d9b8031bcd3a45f27358e90907606a08f1 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Haswell-noTSX</model>
       <vendor>Intel</vendor>
index c55ed9bea890e3ab033abc49faa518a3fd259f8f..4505d64e3ad5f75aca2c3dd34112c757fe4e7b52 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='no'/>
     <mode name='custom' supported='yes'>
       <model usable='unknown'>pxa262</model>
index 0f710b001dd61712cc1598bbdd072d12e6cde9d1..629833b74583ccd113c24026c6d59c3975506b40 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='no'/>
     <mode name='custom' supported='yes'>
       <model usable='unknown'>pxa262</model>
index 08e63d6410687ca1ece82df2364c8888fa9b4ca2..863afbc0df38101b648ae41144d2ced80ddbce81 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>POWER8</model>
     </mode>
index b41ca5158cf4a231f328109115f17249c23ae7c4..ce5c92edce307fc9ef23e6dc5835eeecfb31e5ae 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>z14-base</model>
       <feature policy='require' name='aen'/>
index d67badb4c264796fd1a955ee1e1178b055ee8670..6596016d33e84831f9bacd501c5d3d86cfd6c96e 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Haswell-noTSX</model>
       <vendor>Intel</vendor>
index ae37e6a4620d489af78f7bac60685172d4da04c2..c2e148e0fc5a32e622f87e897050baffe06fc61f 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Skylake-Client</model>
       <vendor>Intel</vendor>
index ad4e6b0500115e2f5ec3bd9cb727c1dee68f283b..c5b48fdad50c5335d6bfb52c077b74c859c80579 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>z14-base</model>
       <feature policy='require' name='aen'/>
index fa9c6487b0ccf424c5340a18efa0326403341639..38b6b20f77e9fffaf8ffb1c4cb3ceb8e94ff6671 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Skylake-Client</model>
       <vendor>Intel</vendor>
index 164427683e1e64f834ca9ae23fb0a8b746757c10..8d38d33369de650d11cc68c95a35aa178d0fe519 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>on</value>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Haswell-noTSX</model>
       <vendor>Intel</vendor>
index 6504b74fa6c080d2a39bbaaa421285998c5ba5f0..8ea58bfa25cf56c625ad796517a62d500908ed22 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='no'/>
     <mode name='custom' supported='yes'>
       <model usable='unknown'>pxa262</model>
index 2c429fdccafe7667b4e9e39b575a58681328b637..667516e75e24d74dea9a7d1b31de312633adbb56 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='no'/>
     <mode name='custom' supported='yes'>
       <model usable='unknown'>pxa262</model>
index fb3f4b7c806afe25c74682dd2370e4a4229b6edf..eac3e6a86876334fcaf5814de5741e5adf54b3ee 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>POWER8</model>
     </mode>
index 9736d6a42db1d8f555d466364d325a10f82696c1..01cc3d81ec96bd87669a04410adfa984803c458f 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>z14-base</model>
       <feature policy='require' name='aen'/>
index 2a0dffaf0ff498e474cd9e8954ac50f8fefb5406..6e006a3ba3758e8fa8db3cebc47cb7c1c0c2f056 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>on</value>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Haswell-noTSX</model>
       <vendor>Intel</vendor>
index 110bfcbdbd08372d66a1318494675e65453d24ef..23e103927e4a38b02d1575c6970b6378db5a7922 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>Broadwell</model>
     </mode>
index 5a6fa78201e219072114fb2e36d28bc0a4afc5d9..7c6d78e510514572cd597dbe5ac3753b4b4de37c 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>Broadwell</model>
     </mode>
index 399ac43dc3bfc03cf4656f99a114d855f4ce7776..bb8bd9c5c509dc281e893804cb2875aa7836cbe1 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>Broadwell</model>
     </mode>
index 23a83311c60cf263a3262ac26fa861a3fabf2372..a89990a42ed6efeaed868b7041ec29d5b24d1666 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>Broadwell</model>
     </mode>
index a0b27929b0546de5cfcab75c8ac32f55eda64bb5..251696a161c26d3434f2fe7e2328a13e24fe71a9 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>Broadwell</model>
     </mode>
index 5a93c0c153d4b9de47ba02c727ed1c091a9a30e2..95053e9cbec6ec2c5a16e00a497f127cb6b43abf 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='no'/>
     <mode name='custom' supported='yes'>
       <model usable='unknown'>pxa262</model>
index fe3c5db30e437655b031815821df85967318f568..223e944c8aaeb51bdd612bda82f611dd036b055a 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='no'/>
     <mode name='custom' supported='yes'>
       <model usable='unknown'>pxa262</model>
index c69b4dcae62bf359a94f439d021d4e439c4b1b81..c97f232028ddfadb1072fd68976f37fc6ac15b29 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>POWER8</model>
     </mode>
index 889b935ac88539ae41854f6a4849df44c673c26b..f95f8fb46abe54ef07dfe912647c8eef3c2a6b05 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>Broadwell</model>
     </mode>
index fd6762f28c5524b92c55a1ae73e19feb96b9f4f7..1e6c47f2d63c692b5867cecdc078ff6c92b15a14 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>Broadwell</model>
     </mode>
index b19a4c9fedefc9a88ebdab9ac8a8733cda675ba0..ff3dd4939b6ce3dfcc834b06af597beaa65c5547 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='no'/>
     <mode name='custom' supported='no'/>
   </cpu>
index 0625244885338c8fc8b1453bf6aafa69dac47d4c..da1b10c41bb849068fcd3b85ea684958e23ada75 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>Broadwell</model>
     </mode>
index 0bf92eeb3905d9c47488ff04dd60c5d4dca41f32..0a7493d86dad8f6ccdc1fd10ae4054f36f390f44 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>Broadwell</model>
     </mode>
index 30d2f7ff1f5efb3b9eeac3d5299ecac5b4ba0274..47b1aa46f76e0f580734aae7407453ab4f526c26 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>zEC12.2-base</model>
       <feature policy='require' name='aefsi'/>
index 3a9dc24c3dc4e856c88ddb538eebc5a5d7bd152a..6fa754c18ac7f6519180cd1dff8d8fdf9b3df691 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>Broadwell</model>
     </mode>
index 60a0b76cf1aba95622a0b5c7d9c87701b22f23f5..3df3c3738e618932c8a82b2ca947986fb6e8ccee 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Skylake-Client</model>
       <vendor>Intel</vendor>
index 4b86abbb8f7f0d6a2986b185334f3f7d3d8a8993..3776b6ed9c980bf0bf1cef63005156fb3fae6fe7 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>POWER8</model>
     </mode>
index 2476e951817cec622332bd550748fc2ce8cfa3a1..cf7e7781cc5bee1c0ead9d316ea3e6a282e384ee 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>z13.2-base</model>
       <feature policy='require' name='aefsi'/>
index c98cf1045be4d84c3decb2b3471768c611cbda21..a80ef28488419b2e1dff37179c4e0c6278b2cd1a 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Skylake-Client</model>
       <vendor>Intel</vendor>
index acff9a13109ca2da3460995c6e992ee0a9087dfb..cd37906bc7c06811de30ab5a83873ae540b1aa7d 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>on</value>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Skylake-Client-IBRS</model>
       <vendor>Intel</vendor>
index 3fdc6e0f1e654936f6e7bc00c573852c68b42909..1b8ddd4ed0a0116c37e56cb3d1a77e2f47378ecb 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>POWER8</model>
     </mode>
index a297bf9ef1defb36d7c92a33f75aa46c7a217b14..7a4e536fb56a1f806cd9378e9ed518b759975cb0 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>z14-base</model>
       <feature policy='require' name='aen'/>
index a51eb46d151acb5c12bddd0dcc71d58a07f02614..9fa42247602e39af469bffe13e20edb0f2d9163d 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>on</value>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Skylake-Client-IBRS</model>
       <vendor>Intel</vendor>
index 6d11d0303f521ecaa5230b20a2ec2f9318a6c162..82b1b6a0950b7ec523969091d89ebfc5ca0e5c67 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>on</value>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Skylake-Client-IBRS</model>
       <vendor>Intel</vendor>
index 3136a0066226bbb8728b9082f789f48c5bacd60c..6a2bc879477b9cfebbecc2d5c8f9f4c5f473a658 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>POWER8</model>
     </mode>
index 9fe7605272f6f18a932741b19138303f88332a7f..ffc82f17c38ec696aa6cca3475e4797c96466c90 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>on</value>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Skylake-Client-IBRS</model>
       <vendor>Intel</vendor>
index 8e991f672b1527bd0fd97aa57350932e90d80e2f..c837de966f0f38d22ea691945eb05d75b28138f9 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>on</value>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Skylake-Client-IBRS</model>
       <vendor>Intel</vendor>
index 0821b8ef9f425e8d0eeaec4d3e8d51d3d5be6219..f5347aba9f5f19d06fe13d75f08083f37093fa8b 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='no'/>
     <mode name='custom' supported='yes'>
       <model usable='unknown'>pxa262</model>
index 5d5af1b87c38d1ca252aa7ea27b73e806f6d3d82..b879d7553c49096c74847beb356b607a436632cc 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='no'/>
     <mode name='custom' supported='yes'>
       <model usable='unknown'>pxa262</model>
index b56d5fb6dc14103e3427244f2cfe730abc83a2be..0642753f111694925d66668217b971715b7cc654 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>POWER8</model>
     </mode>
index 21ddd27cb93e6676f6e2e2d6ed4c2d748c31d780..632c26d68908f617d38ce1c86cc6f0eb7d070b5b 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>z14.2-base</model>
       <feature policy='require' name='aen'/>
index 27d8023d38b9ba4b97b2ae0ef34f0f1d32e5130f..3f64bd4b66a42128a34fb6cd99543dbeb9852ecf 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>on</value>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Skylake-Client-IBRS</model>
       <vendor>Intel</vendor>
index f4ddb66e38f1ae7a978f9273d5d0e3b6b2f6b543..8bf41d6b49a828880b8d463fe4d41524ad4d76a1 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>on</value>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Skylake-Client-IBRS</model>
       <vendor>Intel</vendor>
index bcc8bbcc7a21bcf828283a63ac43ad4b057e2bd3..5010f879a64a4548d70f2643cc85ecc5ee861a6c 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>on</value>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Skylake-Client-IBRS</model>
       <vendor>Intel</vendor>
index fcb0505da03adbdeb8d663ee041f5d5f6cf3660e..6f72b67f682c77518d09d86be251deb5fe7abf2d 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>on</value>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Skylake-Client-IBRS</model>
       <vendor>Intel</vendor>
index 908406bf11e49fed63ac0d260647f25f515a8562..ef57216562d2cf86a0ec22a1b6e2eef9c0e24ee7 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='no'/>
     <mode name='custom' supported='yes'>
       <model usable='unknown'>pxa262</model>
index c66550cec500ff2293410b9201ddbe1195dec0ac..3cf2a6faf15b8c1f01eb34f024e1648e0dbecf57 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='no'/>
     <mode name='custom' supported='yes'>
       <model usable='unknown'>pxa262</model>
index 7906482eee2a5e8af61183e80fc4d2d2d9a06a09..0f2cf6da640f30200a269dd30b09db0d5ca8c451 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>POWER8</model>
     </mode>
index 6b87e450a2e7c91b16893cfe09fe7749727e333c..ecd037438a1f8050d36d9f79681776805d989c0c 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>gen15a-base</model>
       <feature policy='require' name='aen'/>
index e22ef8e032b5467b3d4b574dddb5765630fb1544..f4a8321637e691d486a08d8134e7e5274de777ae 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>on</value>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Skylake-Client-IBRS</model>
       <vendor>Intel</vendor>
index fa945fc0021e3119c23e79c939dd4d911d4bd2e9..fc21b2ad62742d7c128d8788a5a59ef9c80d8cc7 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>on</value>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Skylake-Client-IBRS</model>
       <vendor>Intel</vendor>
index 7153a0b80df0fb4e723c044c769139309d225439..b2b37c0f7b347986160afc3ad4df173bd382d02c 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='no'/>
     <mode name='custom' supported='yes'>
       <model usable='unknown'>cortex-a9</model>
index a3e20cc3d8391624868c1cce297c2405d8fedc46..7377a2c4cf74acb9dfb2c5f5f3c71354a401d573 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='no'/>
     <mode name='custom' supported='yes'>
       <model usable='unknown'>cortex-a9</model>
index 697c448dfe35a772041cc10d9167fea0db29a27d..9693aeb72e68e68db5b50bd7dc54f578d9765b37 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='allow'>POWER8</model>
     </mode>
index fbde7a6ba2b18f29ae5da13b4266768bbc988928..aceca34c4300a22bb61c06e2fc2da5217edd0c76 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>on</value>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>Skylake-Client-IBRS</model>
       <vendor>Intel</vendor>
index 996461fb0fc3809256edafb2de06d11e77e94bf8..d0917652e1014fc8ad6e1958ce0e61289fe54247 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>on</value>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>EPYC-IBPB</model>
       <vendor>AMD</vendor>
index e95fcec8bc6e71a9702ff961cfbae41b3e31b975..f33066759d16070397e21184a6c3c83a5e716786 100644 (file)
     </loader>
   </os>
   <cpu>
-    <mode name='host-passthrough' supported='yes'/>
+    <mode name='host-passthrough' supported='yes'>
+      <enum name='hostPassthroughMigratable'>
+        <value>on</value>
+        <value>off</value>
+      </enum>
+    </mode>
     <mode name='host-model' supported='yes'>
       <model fallback='forbid'>EPYC-IBPB</model>
       <vendor>AMD</vendor>