459f93
From 5db9a525e3cec267544580d43554b2cf5779b6b9 Mon Sep 17 00:00:00 2001
459f93
Message-Id: <5db9a525e3cec267544580d43554b2cf5779b6b9@dist-git>
459f93
From: Jiri Denemark <jdenemar@redhat.com>
459f93
Date: Tue, 26 Apr 2022 15:06:30 +0200
459f93
Subject: [PATCH] cpu_x86: Penalize disabled features when computing CPU model
459f93
459f93
For finding the best matching CPU model for a given set of features
459f93
while we don't know the CPU signature (i.e., when computing a baseline
459f93
CPU model) we've been using a "shortest list of features" heuristics.
459f93
This works well if new CPU models are supersets of older models, but
459f93
that's not always the case. As a result it may actually select a new CPU
459f93
model as a baseline while removing some features from it to make it
459f93
compatible with older models. This is in general worse than using an old
459f93
CPU model with a bunch of added features as a guest OS or apps may crash
459f93
when using features that were disabled.
459f93
459f93
On the other hand we don't want to end up with a very old model which
459f93
would guarantee no disabled features as it could stop a guest OS or apps
459f93
from using some features provided by the CPU because they would not
459f93
expect them on such an old CPU.
459f93
459f93
This patch changes the heuristics to something in between. Enabled and
459f93
disabled features are counted separately so that a CPU model requiring
459f93
some features to be disabled looks worse than a model with fewer
459f93
disabled features even if its complete list of features is longer. The
459f93
penalty given for each additional disabled feature gets bigger to make
459f93
longer list of disabled features look even worse.
459f93
459f93
https://bugzilla.redhat.com/show_bug.cgi?id=1851227
459f93
459f93
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
459f93
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
459f93
(cherry picked from commit 48341b025acdd04a66696a709c7b09b3bfd42acf)
459f93
459f93
Conflicts:
459f93
	tests/domaincapsdata/qemu_2.9.0-tcg.x86_64.xml
459f93
        tests/domaincapsdata/qemu_2.11.0-tcg.x86_64.xml
459f93
        tests/domaincapsdata/qemu_2.12.0-tcg.x86_64.xml
459f93
        tests/domaincapsdata/qemu_3.0.0-tcg.x86_64.xml
459f93
            - not supported upstream anymore
459f93
459f93
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
459f93
---
459f93
 src/cpu/cpu_x86.c                             | 44 ++++++++++++++++---
459f93
 .../x86_64-cpuid-Atom-D510-guest.xml          |  5 ++-
459f93
 .../x86_64-cpuid-Atom-N450-guest.xml          |  5 ++-
459f93
 .../x86_64-cpuid-Phenom-B95-json.xml          | 21 +++++----
459f93
 ...id-baseline-Broadwell-IBRS+Cascadelake.xml | 11 +++--
459f93
 ..._64-cpuid-baseline-Cascadelake+Icelake.xml | 13 +++---
459f93
 ...puid-baseline-Cascadelake+Skylake-IBRS.xml |  5 ++-
459f93
 ...6_64-cpuid-baseline-Cooperlake+Icelake.xml | 13 +++---
459f93
 .../x86_64-host+guest,models-result.xml       | 10 +++--
459f93
 .../domaincapsdata/qemu_2.11.0-tcg.x86_64.xml | 34 ++++++++------
459f93
 .../domaincapsdata/qemu_2.12.0-tcg.x86_64.xml | 34 ++++++++------
459f93
 .../domaincapsdata/qemu_2.9.0-tcg.x86_64.xml  | 16 ++++---
459f93
 .../domaincapsdata/qemu_3.0.0-tcg.x86_64.xml  | 35 +++++++++------
459f93
 .../domaincapsdata/qemu_3.1.0-tcg.x86_64.xml  | 35 +++++++++------
459f93
 .../domaincapsdata/qemu_4.0.0-tcg.x86_64.xml  | 36 ++++++++-------
459f93
 .../domaincapsdata/qemu_4.1.0-tcg.x86_64.xml  | 37 +++++++++-------
459f93
 .../domaincapsdata/qemu_4.2.0-tcg.x86_64.xml  | 37 +++++++++-------
459f93
 .../domaincapsdata/qemu_5.0.0-tcg.x86_64.xml  | 36 +++++++++------
459f93
 .../domaincapsdata/qemu_5.1.0-tcg.x86_64.xml  | 36 +++++++++------
459f93
 .../domaincapsdata/qemu_5.2.0-tcg.x86_64.xml  | 36 +++++++++------
459f93
 .../domaincapsdata/qemu_6.0.0-tcg.x86_64.xml  | 36 +++++++++------
459f93
 .../domaincapsdata/qemu_6.1.0-tcg.x86_64.xml  | 36 +++++++++------
459f93
 .../domaincapsdata/qemu_6.2.0-tcg.x86_64.xml  | 36 +++++++++------
459f93
 tests/qemuxml2argvdata/cpu-fallback.args      |  2 +-
459f93
 .../cpu-host-model-cmt.x86_64-4.0.0.args      |  2 +-
459f93
 .../cpu-host-model-fallback.args              |  2 +-
459f93
 26 files changed, 382 insertions(+), 231 deletions(-)
459f93
459f93
diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c
459f93
index 81c2441b8b..ebcd96edb1 100644
459f93
--- a/src/cpu/cpu_x86.c
459f93
+++ b/src/cpu/cpu_x86.c
459f93
@@ -1970,23 +1970,57 @@ virCPUx86Compare(virCPUDef *host,
459f93
 }
459f93
 
459f93
 
459f93
+/* Base penalty for disabled features. */
459f93
+#define BASE_PENALTY 2
459f93
+
459f93
 static int
459f93
 virCPUx86CompareCandidateFeatureList(virCPUDef *cpuCurrent,
459f93
                                      virCPUDef *cpuCandidate)
459f93
 {
459f93
     size_t current = cpuCurrent->nfeatures;
459f93
+    size_t enabledCurrent = current;
459f93
+    size_t disabledCurrent = 0;
459f93
     size_t candidate = cpuCandidate->nfeatures;
459f93
+    size_t enabled = candidate;
459f93
+    size_t disabled = 0;
459f93
+
459f93
+    if (cpuCandidate->type != VIR_CPU_TYPE_HOST) {
459f93
+        size_t i;
459f93
+        int penalty = BASE_PENALTY;
459f93
+
459f93
+        for (i = 0; i < enabledCurrent; i++) {
459f93
+            if (cpuCurrent->features[i].policy == VIR_CPU_FEATURE_DISABLE) {
459f93
+                enabledCurrent--;
459f93
+                disabledCurrent += penalty;
459f93
+                penalty++;
459f93
+            }
459f93
+        }
459f93
+        current = enabledCurrent + disabledCurrent;
459f93
+
459f93
+        penalty = BASE_PENALTY;
459f93
+        for (i = 0; i < enabled; i++) {
459f93
+            if (cpuCandidate->features[i].policy == VIR_CPU_FEATURE_DISABLE) {
459f93
+                enabled--;
459f93
+                disabled += penalty;
459f93
+                penalty++;
459f93
+            }
459f93
+        }
459f93
+        candidate = enabled + disabled;
459f93
+    }
459f93
 
459f93
-    if (candidate < current) {
459f93
-        VIR_DEBUG("%s is better than %s: %zu < %zu",
459f93
+    if (candidate < current ||
459f93
+        (candidate == current && disabled < disabledCurrent)) {
459f93
+        VIR_DEBUG("%s is better than %s: %zu (%zu, %zu) < %zu (%zu, %zu)",
459f93
                   cpuCandidate->model, cpuCurrent->model,
459f93
-                  candidate, current);
459f93
+                  candidate, enabled, disabled,
459f93
+                  current, enabledCurrent, disabledCurrent);
459f93
         return 1;
459f93
     }
459f93
 
459f93
-    VIR_DEBUG("%s is not better than %s: %zu >= %zu",
459f93
+    VIR_DEBUG("%s is not better than %s: %zu (%zu, %zu) >= %zu (%zu, %zu)",
459f93
               cpuCandidate->model, cpuCurrent->model,
459f93
-              candidate, current);
459f93
+              candidate, enabled, disabled,
459f93
+              current, enabledCurrent, disabledCurrent);
459f93
     return 0;
459f93
 }
459f93
 
459f93
diff --git a/tests/cputestdata/x86_64-cpuid-Atom-D510-guest.xml b/tests/cputestdata/x86_64-cpuid-Atom-D510-guest.xml
459f93
index caa0bfd53b..d2f7a79074 100644
459f93
--- a/tests/cputestdata/x86_64-cpuid-Atom-D510-guest.xml
459f93
+++ b/tests/cputestdata/x86_64-cpuid-Atom-D510-guest.xml
459f93
@@ -1,6 +1,7 @@
459f93
 <cpu mode='custom' match='exact'>
459f93
-  <model fallback='forbid'>core2duo</model>
459f93
+  <model fallback='forbid'>n270</model>
459f93
   <vendor>Intel</vendor>
459f93
+  <feature policy='require' name='pse36'/>
459f93
   <feature policy='require' name='ds'/>
459f93
   <feature policy='require' name='acpi'/>
459f93
   <feature policy='require' name='ss'/>
459f93
@@ -14,6 +15,6 @@
459f93
   <feature policy='require' name='xtpr'/>
459f93
   <feature policy='require' name='pdcm'/>
459f93
   <feature policy='require' name='movbe'/>
459f93
+  <feature policy='require' name='lm'/>
459f93
   <feature policy='require' name='lahf_lm'/>
459f93
-  <feature policy='disable' name='syscall'/>
459f93
 </cpu>
459f93
diff --git a/tests/cputestdata/x86_64-cpuid-Atom-N450-guest.xml b/tests/cputestdata/x86_64-cpuid-Atom-N450-guest.xml
459f93
index e8f5c93881..779faf6cef 100644
459f93
--- a/tests/cputestdata/x86_64-cpuid-Atom-N450-guest.xml
459f93
+++ b/tests/cputestdata/x86_64-cpuid-Atom-N450-guest.xml
459f93
@@ -1,5 +1,5 @@
459f93
 <cpu mode='custom' match='exact'>
459f93
-  <model fallback='forbid'>core2duo</model>
459f93
+  <model fallback='forbid'>n270</model>
459f93
   <vendor>Intel</vendor>
459f93
   <feature policy='require' name='ds'/>
459f93
   <feature policy='require' name='acpi'/>
459f93
@@ -15,6 +15,7 @@
459f93
   <feature policy='require' name='xtpr'/>
459f93
   <feature policy='require' name='pdcm'/>
459f93
   <feature policy='require' name='movbe'/>
459f93
+  <feature policy='require' name='syscall'/>
459f93
+  <feature policy='require' name='lm'/>
459f93
   <feature policy='require' name='lahf_lm'/>
459f93
-  <feature policy='disable' name='pse36'/>
459f93
 </cpu>
459f93
diff --git a/tests/cputestdata/x86_64-cpuid-Phenom-B95-json.xml b/tests/cputestdata/x86_64-cpuid-Phenom-B95-json.xml
459f93
index b4198f66a5..7f6289c6d7 100644
459f93
--- a/tests/cputestdata/x86_64-cpuid-Phenom-B95-json.xml
459f93
+++ b/tests/cputestdata/x86_64-cpuid-Phenom-B95-json.xml
459f93
@@ -1,22 +1,25 @@
459f93
 <cpu mode='custom' match='exact'>
459f93
-  <model fallback='forbid'>Opteron_G3</model>
459f93
+  <model fallback='forbid'>athlon</model>
459f93
   <vendor>AMD</vendor>
459f93
-  <feature policy='require' name='vme'/>
459f93
+  <feature policy='require' name='mca'/>
459f93
+  <feature policy='require' name='clflush'/>
459f93
+  <feature policy='require' name='pni'/>
459f93
+  <feature policy='require' name='cx16'/>
459f93
   <feature policy='require' name='x2apic'/>
459f93
+  <feature policy='require' name='popcnt'/>
459f93
   <feature policy='require' name='hypervisor'/>
459f93
-  <feature policy='require' name='mmxext'/>
459f93
+  <feature policy='require' name='syscall'/>
459f93
   <feature policy='require' name='fxsr_opt'/>
459f93
   <feature policy='require' name='pdpe1gb'/>
459f93
-  <feature policy='require' name='3dnowext'/>
459f93
-  <feature policy='require' name='3dnow'/>
459f93
+  <feature policy='require' name='lm'/>
459f93
+  <feature policy='require' name='lahf_lm'/>
459f93
   <feature policy='require' name='cmp_legacy'/>
459f93
   <feature policy='require' name='cr8legacy'/>
459f93
+  <feature policy='require' name='abm'/>
459f93
+  <feature policy='require' name='sse4a'/>
459f93
+  <feature policy='require' name='misalignsse'/>
459f93
   <feature policy='require' name='3dnowprefetch'/>
459f93
   <feature policy='require' name='osvw'/>
459f93
   <feature policy='require' name='npt'/>
459f93
   <feature policy='require' name='nrip-save'/>
459f93
-  <feature policy='disable' name='nx'/>
459f93
-  <feature policy='disable' name='rdtscp'/>
459f93
-  <feature policy='disable' name='svm'/>
459f93
-  <feature policy='disable' name='monitor'/>
459f93
 </cpu>
459f93
diff --git a/tests/cputestdata/x86_64-cpuid-baseline-Broadwell-IBRS+Cascadelake.xml b/tests/cputestdata/x86_64-cpuid-baseline-Broadwell-IBRS+Cascadelake.xml
459f93
index 4e3f253e9b..99bce8db87 100644
459f93
--- a/tests/cputestdata/x86_64-cpuid-baseline-Broadwell-IBRS+Cascadelake.xml
459f93
+++ b/tests/cputestdata/x86_64-cpuid-baseline-Broadwell-IBRS+Cascadelake.xml
459f93
@@ -1,11 +1,14 @@
459f93
 <cpu mode='custom' match='exact'>
459f93
-  <model fallback='allow'>Skylake-Client-IBRS</model>
459f93
+  <model fallback='allow'>Broadwell-IBRS</model>
459f93
   <vendor>Intel</vendor>
459f93
+  <feature policy='require' name='vme'/>
459f93
   <feature policy='require' name='ss'/>
459f93
+  <feature policy='require' name='f16c'/>
459f93
+  <feature policy='require' name='rdrand'/>
459f93
   <feature policy='require' name='hypervisor'/>
459f93
+  <feature policy='require' name='arat'/>
459f93
   <feature policy='require' name='tsc_adjust'/>
459f93
+  <feature policy='require' name='xsaveopt'/>
459f93
   <feature policy='require' name='pdpe1gb'/>
459f93
-  <feature policy='disable' name='mpx'/>
459f93
-  <feature policy='disable' name='xsavec'/>
459f93
-  <feature policy='disable' name='xgetbv1'/>
459f93
+  <feature policy='require' name='abm'/>
459f93
 </cpu>
459f93
diff --git a/tests/cputestdata/x86_64-cpuid-baseline-Cascadelake+Icelake.xml b/tests/cputestdata/x86_64-cpuid-baseline-Cascadelake+Icelake.xml
459f93
index e372a3e446..071c799ba2 100644
459f93
--- a/tests/cputestdata/x86_64-cpuid-baseline-Cascadelake+Icelake.xml
459f93
+++ b/tests/cputestdata/x86_64-cpuid-baseline-Cascadelake+Icelake.xml
459f93
@@ -1,14 +1,15 @@
459f93
 <cpu mode='custom' match='exact'>
459f93
-  <model fallback='allow'>Cooperlake</model>
459f93
+  <model fallback='allow'>Cascadelake-Server</model>
459f93
   <vendor>Intel</vendor>
459f93
   <feature policy='require' name='ss'/>
459f93
   <feature policy='require' name='hypervisor'/>
459f93
   <feature policy='require' name='tsc_adjust'/>
459f93
-  <feature policy='require' name='mpx'/>
459f93
   <feature policy='require' name='umip'/>
459f93
+  <feature policy='require' name='pku'/>
459f93
+  <feature policy='require' name='stibp'/>
459f93
+  <feature policy='require' name='arch-capabilities'/>
459f93
   <feature policy='require' name='xsaves'/>
459f93
-  <feature policy='disable' name='avx512-bf16'/>
459f93
-  <feature policy='disable' name='mds-no'/>
459f93
-  <feature policy='disable' name='pschange-mc-no'/>
459f93
-  <feature policy='disable' name='taa-no'/>
459f93
+  <feature policy='require' name='rdctl-no'/>
459f93
+  <feature policy='require' name='ibrs-all'/>
459f93
+  <feature policy='require' name='skip-l1dfl-vmentry'/>
459f93
 </cpu>
459f93
diff --git a/tests/cputestdata/x86_64-cpuid-baseline-Cascadelake+Skylake-IBRS.xml b/tests/cputestdata/x86_64-cpuid-baseline-Cascadelake+Skylake-IBRS.xml
459f93
index e559e01583..5e42876b39 100644
459f93
--- a/tests/cputestdata/x86_64-cpuid-baseline-Cascadelake+Skylake-IBRS.xml
459f93
+++ b/tests/cputestdata/x86_64-cpuid-baseline-Cascadelake+Skylake-IBRS.xml
459f93
@@ -1,12 +1,13 @@
459f93
 <cpu mode='custom' match='exact'>
459f93
-  <model fallback='allow'>Cascadelake-Server</model>
459f93
+  <model fallback='allow'>Skylake-Server-IBRS</model>
459f93
   <vendor>Intel</vendor>
459f93
   <feature policy='require' name='ss'/>
459f93
   <feature policy='require' name='hypervisor'/>
459f93
   <feature policy='require' name='tsc_adjust'/>
459f93
+  <feature policy='require' name='clflushopt'/>
459f93
   <feature policy='require' name='umip'/>
459f93
   <feature policy='require' name='pku'/>
459f93
+  <feature policy='require' name='ssbd'/>
459f93
   <feature policy='require' name='xsaves'/>
459f93
   <feature policy='require' name='skip-l1dfl-vmentry'/>
459f93
-  <feature policy='disable' name='avx512vnni'/>
459f93
 </cpu>
459f93
diff --git a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Icelake.xml b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Icelake.xml
459f93
index e372a3e446..071c799ba2 100644
459f93
--- a/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Icelake.xml
459f93
+++ b/tests/cputestdata/x86_64-cpuid-baseline-Cooperlake+Icelake.xml
459f93
@@ -1,14 +1,15 @@
459f93
 <cpu mode='custom' match='exact'>
459f93
-  <model fallback='allow'>Cooperlake</model>
459f93
+  <model fallback='allow'>Cascadelake-Server</model>
459f93
   <vendor>Intel</vendor>
459f93
   <feature policy='require' name='ss'/>
459f93
   <feature policy='require' name='hypervisor'/>
459f93
   <feature policy='require' name='tsc_adjust'/>
459f93
-  <feature policy='require' name='mpx'/>
459f93
   <feature policy='require' name='umip'/>
459f93
+  <feature policy='require' name='pku'/>
459f93
+  <feature policy='require' name='stibp'/>
459f93
+  <feature policy='require' name='arch-capabilities'/>
459f93
   <feature policy='require' name='xsaves'/>
459f93
-  <feature policy='disable' name='avx512-bf16'/>
459f93
-  <feature policy='disable' name='mds-no'/>
459f93
-  <feature policy='disable' name='pschange-mc-no'/>
459f93
-  <feature policy='disable' name='taa-no'/>
459f93
+  <feature policy='require' name='rdctl-no'/>
459f93
+  <feature policy='require' name='ibrs-all'/>
459f93
+  <feature policy='require' name='skip-l1dfl-vmentry'/>
459f93
 </cpu>
459f93
diff --git a/tests/cputestdata/x86_64-host+guest,models-result.xml b/tests/cputestdata/x86_64-host+guest,models-result.xml
459f93
index 0dd6955898..42664a48b4 100644
459f93
--- a/tests/cputestdata/x86_64-host+guest,models-result.xml
459f93
+++ b/tests/cputestdata/x86_64-host+guest,models-result.xml
459f93
@@ -1,17 +1,19 @@
459f93
 <cpu mode='custom' match='exact'>
459f93
-  <model fallback='allow'>Nehalem</model>
459f93
+  <model fallback='allow'>qemu64</model>
459f93
   <topology sockets='2' dies='1' cores='4' threads='1'/>
459f93
   <feature policy='force' name='pbe'/>
459f93
   <feature policy='force' name='monitor'/>
459f93
+  <feature policy='require' name='ssse3'/>
459f93
   <feature policy='require' name='xtpr'/>
459f93
   <feature policy='require' name='dca'/>
459f93
+  <feature policy='require' name='sse4.1'/>
459f93
   <feature policy='force' name='3dnowext'/>
459f93
-  <feature policy='force' name='svm'/>
459f93
+  <feature policy='require' name='lahf_lm'/>
459f93
   <feature policy='disable' name='sse'/>
459f93
   <feature policy='disable' name='sse4.2'/>
459f93
-  <feature policy='forbid' name='popcnt'/>
459f93
   <feature policy='disable' name='3dnow'/>
459f93
-  <feature policy='require' name='ssse3'/>
459f93
   <feature policy='disable' name='vmx'/>
459f93
   <feature policy='disable' name='ds_cpl'/>
459f93
+  <feature policy='force' name='svm'/>
459f93
+  <feature policy='forbid' name='popcnt'/>
459f93
 </cpu>
459f93
diff --git a/tests/domaincapsdata/qemu_2.11.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_2.11.0-tcg.x86_64.xml
459f93
index cccc6830f9..4a92b5bead 100644
459f93
--- a/tests/domaincapsdata/qemu_2.11.0-tcg.x86_64.xml
459f93
+++ b/tests/domaincapsdata/qemu_2.11.0-tcg.x86_64.xml
459f93
@@ -36,34 +36,42 @@
459f93
       </enum>
459f93
     </mode>
459f93
     <mode name='host-model' supported='yes'>
459f93
-      <model fallback='forbid'>EPYC</model>
459f93
+      <model fallback='forbid'>Opteron_G3</model>
459f93
       <vendor>AMD</vendor>
459f93
       <feature policy='require' name='acpi'/>
459f93
       <feature policy='require' name='ss'/>
459f93
+      <feature policy='require' name='pclmuldq'/>
459f93
       <feature policy='require' name='monitor'/>
459f93
+      <feature policy='require' name='ssse3'/>
459f93
+      <feature policy='require' name='sse4.1'/>
459f93
+      <feature policy='require' name='sse4.2'/>
459f93
+      <feature policy='require' name='movbe'/>
459f93
+      <feature policy='require' name='aes'/>
459f93
+      <feature policy='require' name='xsave'/>
459f93
       <feature policy='require' name='hypervisor'/>
459f93
+      <feature policy='require' name='arat'/>
459f93
+      <feature policy='require' name='fsgsbase'/>
459f93
+      <feature policy='require' name='bmi1'/>
459f93
+      <feature policy='require' name='smep'/>
459f93
+      <feature policy='require' name='bmi2'/>
459f93
       <feature policy='require' name='erms'/>
459f93
       <feature policy='require' name='mpx'/>
459f93
+      <feature policy='require' name='adx'/>
459f93
+      <feature policy='require' name='smap'/>
459f93
       <feature policy='require' name='pcommit'/>
459f93
+      <feature policy='require' name='clflushopt'/>
459f93
       <feature policy='require' name='clwb'/>
459f93
       <feature policy='require' name='pku'/>
459f93
       <feature policy='require' name='ospke'/>
459f93
       <feature policy='require' name='la57'/>
459f93
+      <feature policy='require' name='xsaveopt'/>
459f93
+      <feature policy='require' name='xgetbv1'/>
459f93
+      <feature policy='require' name='mmxext'/>
459f93
+      <feature policy='require' name='pdpe1gb'/>
459f93
       <feature policy='require' name='3dnowext'/>
459f93
       <feature policy='require' name='3dnow'/>
459f93
-      <feature policy='disable' name='vme'/>
459f93
-      <feature policy='disable' name='fma'/>
459f93
-      <feature policy='disable' name='avx'/>
459f93
-      <feature policy='disable' name='f16c'/>
459f93
-      <feature policy='disable' name='rdrand'/>
459f93
-      <feature policy='disable' name='avx2'/>
459f93
-      <feature policy='disable' name='rdseed'/>
459f93
-      <feature policy='disable' name='sha-ni'/>
459f93
-      <feature policy='disable' name='xsavec'/>
459f93
-      <feature policy='disable' name='fxsr_opt'/>
459f93
+      <feature policy='require' name='cr8legacy'/>
459f93
       <feature policy='disable' name='misalignsse'/>
459f93
-      <feature policy='disable' name='3dnowprefetch'/>
459f93
-      <feature policy='disable' name='osvw'/>
459f93
     </mode>
459f93
     <mode name='custom' supported='yes'>
459f93
       <model usable='yes'>qemu64</model>
459f93
diff --git a/tests/domaincapsdata/qemu_2.12.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_2.12.0-tcg.x86_64.xml
459f93
index 575506d852..7799a6a7a6 100644
459f93
--- a/tests/domaincapsdata/qemu_2.12.0-tcg.x86_64.xml
459f93
+++ b/tests/domaincapsdata/qemu_2.12.0-tcg.x86_64.xml
459f93
@@ -36,34 +36,42 @@
459f93
       </enum>
459f93
     </mode>
459f93
     <mode name='host-model' supported='yes'>
459f93
-      <model fallback='forbid'>EPYC</model>
459f93
+      <model fallback='forbid'>Opteron_G3</model>
459f93
       <vendor>AMD</vendor>
459f93
       <feature policy='require' name='acpi'/>
459f93
       <feature policy='require' name='ss'/>
459f93
+      <feature policy='require' name='pclmuldq'/>
459f93
       <feature policy='require' name='monitor'/>
459f93
+      <feature policy='require' name='ssse3'/>
459f93
+      <feature policy='require' name='sse4.1'/>
459f93
+      <feature policy='require' name='sse4.2'/>
459f93
+      <feature policy='require' name='movbe'/>
459f93
+      <feature policy='require' name='aes'/>
459f93
+      <feature policy='require' name='xsave'/>
459f93
       <feature policy='require' name='hypervisor'/>
459f93
+      <feature policy='require' name='arat'/>
459f93
+      <feature policy='require' name='fsgsbase'/>
459f93
+      <feature policy='require' name='bmi1'/>
459f93
+      <feature policy='require' name='smep'/>
459f93
+      <feature policy='require' name='bmi2'/>
459f93
       <feature policy='require' name='erms'/>
459f93
       <feature policy='require' name='mpx'/>
459f93
+      <feature policy='require' name='adx'/>
459f93
+      <feature policy='require' name='smap'/>
459f93
       <feature policy='require' name='pcommit'/>
459f93
+      <feature policy='require' name='clflushopt'/>
459f93
       <feature policy='require' name='clwb'/>
459f93
       <feature policy='require' name='pku'/>
459f93
       <feature policy='require' name='ospke'/>
459f93
       <feature policy='require' name='la57'/>
459f93
+      <feature policy='require' name='xsaveopt'/>
459f93
+      <feature policy='require' name='xgetbv1'/>
459f93
+      <feature policy='require' name='mmxext'/>
459f93
+      <feature policy='require' name='pdpe1gb'/>
459f93
       <feature policy='require' name='3dnowext'/>
459f93
       <feature policy='require' name='3dnow'/>
459f93
-      <feature policy='disable' name='vme'/>
459f93
-      <feature policy='disable' name='fma'/>
459f93
-      <feature policy='disable' name='avx'/>
459f93
-      <feature policy='disable' name='f16c'/>
459f93
-      <feature policy='disable' name='rdrand'/>
459f93
-      <feature policy='disable' name='avx2'/>
459f93
-      <feature policy='disable' name='rdseed'/>
459f93
-      <feature policy='disable' name='sha-ni'/>
459f93
-      <feature policy='disable' name='xsavec'/>
459f93
-      <feature policy='disable' name='fxsr_opt'/>
459f93
+      <feature policy='require' name='cr8legacy'/>
459f93
       <feature policy='disable' name='misalignsse'/>
459f93
-      <feature policy='disable' name='3dnowprefetch'/>
459f93
-      <feature policy='disable' name='osvw'/>
459f93
     </mode>
459f93
     <mode name='custom' supported='yes'>
459f93
       <model usable='yes'>qemu64</model>
459f93
diff --git a/tests/domaincapsdata/qemu_2.9.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_2.9.0-tcg.x86_64.xml
459f93
index b47c426f1b..fe12641fbe 100644
459f93
--- a/tests/domaincapsdata/qemu_2.9.0-tcg.x86_64.xml
459f93
+++ b/tests/domaincapsdata/qemu_2.9.0-tcg.x86_64.xml
459f93
@@ -36,12 +36,19 @@
459f93
       </enum>
459f93
     </mode>
459f93
     <mode name='host-model' supported='yes'>
459f93
-      <model fallback='forbid'>Opteron_G4</model>
459f93
+      <model fallback='forbid'>Opteron_G3</model>
459f93
       <vendor>AMD</vendor>
459f93
       <feature policy='require' name='acpi'/>
459f93
       <feature policy='require' name='ss'/>
459f93
+      <feature policy='require' name='pclmuldq'/>
459f93
       <feature policy='require' name='monitor'/>
459f93
+      <feature policy='require' name='ssse3'/>
459f93
+      <feature policy='require' name='sse4.1'/>
459f93
+      <feature policy='require' name='sse4.2'/>
459f93
       <feature policy='require' name='movbe'/>
459f93
+      <feature policy='require' name='aes'/>
459f93
+      <feature policy='require' name='xsave'/>
459f93
+      <feature policy='require' name='rdrand'/>
459f93
       <feature policy='require' name='hypervisor'/>
459f93
       <feature policy='require' name='arat'/>
459f93
       <feature policy='require' name='fsgsbase'/>
459f93
@@ -61,14 +68,13 @@
459f93
       <feature policy='require' name='xsaveopt'/>
459f93
       <feature policy='require' name='xgetbv1'/>
459f93
       <feature policy='require' name='mmxext'/>
459f93
+      <feature policy='require' name='pdpe1gb'/>
459f93
       <feature policy='require' name='3dnowext'/>
459f93
       <feature policy='require' name='3dnow'/>
459f93
       <feature policy='require' name='cr8legacy'/>
459f93
-      <feature policy='disable' name='avx'/>
459f93
+      <feature policy='require' name='npt'/>
459f93
+      <feature policy='require' name='svme-addr-chk'/>
459f93
       <feature policy='disable' name='misalignsse'/>
459f93
-      <feature policy='disable' name='3dnowprefetch'/>
459f93
-      <feature policy='disable' name='xop'/>
459f93
-      <feature policy='disable' name='fma4'/>
459f93
     </mode>
459f93
     <mode name='custom' supported='yes'>
459f93
       <model usable='yes'>qemu64</model>
459f93
diff --git a/tests/domaincapsdata/qemu_3.0.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_3.0.0-tcg.x86_64.xml
459f93
index 301101095c..daccacba0e 100644
459f93
--- a/tests/domaincapsdata/qemu_3.0.0-tcg.x86_64.xml
459f93
+++ b/tests/domaincapsdata/qemu_3.0.0-tcg.x86_64.xml
459f93
@@ -36,35 +36,42 @@
459f93
       </enum>
459f93
     </mode>
459f93
     <mode name='host-model' supported='yes'>
459f93
-      <model fallback='forbid'>EPYC</model>
459f93
+      <model fallback='forbid'>Opteron_G3</model>
459f93
       <vendor>AMD</vendor>
459f93
       <feature policy='require' name='acpi'/>
459f93
       <feature policy='require' name='ss'/>
459f93
+      <feature policy='require' name='pclmuldq'/>
459f93
       <feature policy='require' name='monitor'/>
459f93
+      <feature policy='require' name='ssse3'/>
459f93
+      <feature policy='require' name='sse4.1'/>
459f93
+      <feature policy='require' name='sse4.2'/>
459f93
+      <feature policy='require' name='movbe'/>
459f93
+      <feature policy='require' name='aes'/>
459f93
+      <feature policy='require' name='xsave'/>
459f93
       <feature policy='require' name='hypervisor'/>
459f93
+      <feature policy='require' name='arat'/>
459f93
+      <feature policy='require' name='fsgsbase'/>
459f93
+      <feature policy='require' name='bmi1'/>
459f93
+      <feature policy='require' name='smep'/>
459f93
+      <feature policy='require' name='bmi2'/>
459f93
       <feature policy='require' name='erms'/>
459f93
       <feature policy='require' name='mpx'/>
459f93
+      <feature policy='require' name='adx'/>
459f93
+      <feature policy='require' name='smap'/>
459f93
       <feature policy='require' name='pcommit'/>
459f93
+      <feature policy='require' name='clflushopt'/>
459f93
       <feature policy='require' name='clwb'/>
459f93
       <feature policy='require' name='pku'/>
459f93
       <feature policy='require' name='la57'/>
459f93
+      <feature policy='require' name='xsaveopt'/>
459f93
+      <feature policy='require' name='xgetbv1'/>
459f93
+      <feature policy='require' name='mmxext'/>
459f93
+      <feature policy='require' name='pdpe1gb'/>
459f93
       <feature policy='require' name='3dnowext'/>
459f93
       <feature policy='require' name='3dnow'/>
459f93
+      <feature policy='require' name='cr8legacy'/>
459f93
       <feature policy='require' name='npt'/>
459f93
-      <feature policy='disable' name='vme'/>
459f93
-      <feature policy='disable' name='fma'/>
459f93
-      <feature policy='disable' name='avx'/>
459f93
-      <feature policy='disable' name='f16c'/>
459f93
-      <feature policy='disable' name='rdrand'/>
459f93
-      <feature policy='disable' name='avx2'/>
459f93
-      <feature policy='disable' name='rdseed'/>
459f93
-      <feature policy='disable' name='sha-ni'/>
459f93
-      <feature policy='disable' name='xsavec'/>
459f93
-      <feature policy='disable' name='fxsr_opt'/>
459f93
       <feature policy='disable' name='misalignsse'/>
459f93
-      <feature policy='disable' name='3dnowprefetch'/>
459f93
-      <feature policy='disable' name='osvw'/>
459f93
-      <feature policy='disable' name='topoext'/>
459f93
     </mode>
459f93
     <mode name='custom' supported='yes'>
459f93
       <model usable='yes'>qemu64</model>
459f93
diff --git a/tests/domaincapsdata/qemu_3.1.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_3.1.0-tcg.x86_64.xml
459f93
index 1a5bc25b99..2a65cb0ad9 100644
459f93
--- a/tests/domaincapsdata/qemu_3.1.0-tcg.x86_64.xml
459f93
+++ b/tests/domaincapsdata/qemu_3.1.0-tcg.x86_64.xml
459f93
@@ -36,35 +36,42 @@
459f93
       </enum>
459f93
     </mode>
459f93
     <mode name='host-model' supported='yes'>
459f93
-      <model fallback='forbid'>EPYC</model>
459f93
+      <model fallback='forbid'>Opteron_G3</model>
459f93
       <vendor>AMD</vendor>
459f93
       <feature policy='require' name='acpi'/>
459f93
       <feature policy='require' name='ss'/>
459f93
+      <feature policy='require' name='pclmuldq'/>
459f93
       <feature policy='require' name='monitor'/>
459f93
+      <feature policy='require' name='ssse3'/>
459f93
+      <feature policy='require' name='sse4.1'/>
459f93
+      <feature policy='require' name='sse4.2'/>
459f93
+      <feature policy='require' name='movbe'/>
459f93
+      <feature policy='require' name='aes'/>
459f93
+      <feature policy='require' name='xsave'/>
459f93
       <feature policy='require' name='hypervisor'/>
459f93
+      <feature policy='require' name='arat'/>
459f93
+      <feature policy='require' name='fsgsbase'/>
459f93
+      <feature policy='require' name='bmi1'/>
459f93
+      <feature policy='require' name='smep'/>
459f93
+      <feature policy='require' name='bmi2'/>
459f93
       <feature policy='require' name='erms'/>
459f93
       <feature policy='require' name='mpx'/>
459f93
+      <feature policy='require' name='adx'/>
459f93
+      <feature policy='require' name='smap'/>
459f93
       <feature policy='require' name='pcommit'/>
459f93
+      <feature policy='require' name='clflushopt'/>
459f93
       <feature policy='require' name='clwb'/>
459f93
       <feature policy='require' name='pku'/>
459f93
       <feature policy='require' name='la57'/>
459f93
+      <feature policy='require' name='xsaveopt'/>
459f93
+      <feature policy='require' name='xgetbv1'/>
459f93
+      <feature policy='require' name='mmxext'/>
459f93
+      <feature policy='require' name='pdpe1gb'/>
459f93
       <feature policy='require' name='3dnowext'/>
459f93
       <feature policy='require' name='3dnow'/>
459f93
+      <feature policy='require' name='cr8legacy'/>
459f93
       <feature policy='require' name='npt'/>
459f93
-      <feature policy='disable' name='vme'/>
459f93
-      <feature policy='disable' name='fma'/>
459f93
-      <feature policy='disable' name='avx'/>
459f93
-      <feature policy='disable' name='f16c'/>
459f93
-      <feature policy='disable' name='rdrand'/>
459f93
-      <feature policy='disable' name='avx2'/>
459f93
-      <feature policy='disable' name='rdseed'/>
459f93
-      <feature policy='disable' name='sha-ni'/>
459f93
-      <feature policy='disable' name='xsavec'/>
459f93
-      <feature policy='disable' name='fxsr_opt'/>
459f93
       <feature policy='disable' name='misalignsse'/>
459f93
-      <feature policy='disable' name='3dnowprefetch'/>
459f93
-      <feature policy='disable' name='osvw'/>
459f93
-      <feature policy='disable' name='topoext'/>
459f93
     </mode>
459f93
     <mode name='custom' supported='yes'>
459f93
       <model usable='yes'>qemu64</model>
459f93
diff --git a/tests/domaincapsdata/qemu_4.0.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_4.0.0-tcg.x86_64.xml
459f93
index e744ac27ac..a4dc7bafc9 100644
459f93
--- a/tests/domaincapsdata/qemu_4.0.0-tcg.x86_64.xml
459f93
+++ b/tests/domaincapsdata/qemu_4.0.0-tcg.x86_64.xml
459f93
@@ -36,36 +36,42 @@
459f93
       </enum>
459f93
     </mode>
459f93
     <mode name='host-model' supported='yes'>
459f93
-      <model fallback='forbid'>EPYC</model>
459f93
+      <model fallback='forbid'>Opteron_G3</model>
459f93
       <vendor>AMD</vendor>
459f93
       <feature policy='require' name='acpi'/>
459f93
       <feature policy='require' name='ss'/>
459f93
+      <feature policy='require' name='pclmuldq'/>
459f93
       <feature policy='require' name='monitor'/>
459f93
+      <feature policy='require' name='ssse3'/>
459f93
+      <feature policy='require' name='sse4.1'/>
459f93
+      <feature policy='require' name='sse4.2'/>
459f93
+      <feature policy='require' name='movbe'/>
459f93
+      <feature policy='require' name='aes'/>
459f93
+      <feature policy='require' name='xsave'/>
459f93
       <feature policy='require' name='hypervisor'/>
459f93
+      <feature policy='require' name='arat'/>
459f93
+      <feature policy='require' name='fsgsbase'/>
459f93
+      <feature policy='require' name='bmi1'/>
459f93
+      <feature policy='require' name='smep'/>
459f93
+      <feature policy='require' name='bmi2'/>
459f93
       <feature policy='require' name='erms'/>
459f93
       <feature policy='require' name='mpx'/>
459f93
+      <feature policy='require' name='adx'/>
459f93
+      <feature policy='require' name='smap'/>
459f93
       <feature policy='require' name='pcommit'/>
459f93
+      <feature policy='require' name='clflushopt'/>
459f93
       <feature policy='require' name='clwb'/>
459f93
       <feature policy='require' name='pku'/>
459f93
       <feature policy='require' name='la57'/>
459f93
+      <feature policy='require' name='xsaveopt'/>
459f93
+      <feature policy='require' name='xgetbv1'/>
459f93
+      <feature policy='require' name='mmxext'/>
459f93
+      <feature policy='require' name='pdpe1gb'/>
459f93
       <feature policy='require' name='3dnowext'/>
459f93
       <feature policy='require' name='3dnow'/>
459f93
+      <feature policy='require' name='cr8legacy'/>
459f93
       <feature policy='require' name='npt'/>
459f93
-      <feature policy='disable' name='vme'/>
459f93
-      <feature policy='disable' name='fma'/>
459f93
-      <feature policy='disable' name='avx'/>
459f93
-      <feature policy='disable' name='f16c'/>
459f93
-      <feature policy='disable' name='rdrand'/>
459f93
-      <feature policy='disable' name='avx2'/>
459f93
-      <feature policy='disable' name='rdseed'/>
459f93
-      <feature policy='disable' name='sha-ni'/>
459f93
-      <feature policy='disable' name='xsavec'/>
459f93
-      <feature policy='disable' name='fxsr_opt'/>
459f93
       <feature policy='disable' name='misalignsse'/>
459f93
-      <feature policy='disable' name='3dnowprefetch'/>
459f93
-      <feature policy='disable' name='osvw'/>
459f93
-      <feature policy='disable' name='topoext'/>
459f93
-      <feature policy='disable' name='nrip-save'/>
459f93
     </mode>
459f93
     <mode name='custom' supported='yes'>
459f93
       <model usable='yes'>qemu64</model>
459f93
diff --git a/tests/domaincapsdata/qemu_4.1.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_4.1.0-tcg.x86_64.xml
459f93
index 80b1ce8ef9..b20c02cb68 100644
459f93
--- a/tests/domaincapsdata/qemu_4.1.0-tcg.x86_64.xml
459f93
+++ b/tests/domaincapsdata/qemu_4.1.0-tcg.x86_64.xml
459f93
@@ -36,36 +36,43 @@
459f93
       </enum>
459f93
     </mode>
459f93
     <mode name='host-model' supported='yes'>
459f93
-      <model fallback='forbid'>EPYC-IBPB</model>
459f93
+      <model fallback='forbid'>Opteron_G3</model>
459f93
       <vendor>AMD</vendor>
459f93
       <feature policy='require' name='acpi'/>
459f93
       <feature policy='require' name='ss'/>
459f93
+      <feature policy='require' name='pclmuldq'/>
459f93
       <feature policy='require' name='monitor'/>
459f93
+      <feature policy='require' name='ssse3'/>
459f93
+      <feature policy='require' name='sse4.1'/>
459f93
+      <feature policy='require' name='sse4.2'/>
459f93
+      <feature policy='require' name='movbe'/>
459f93
+      <feature policy='require' name='aes'/>
459f93
+      <feature policy='require' name='xsave'/>
459f93
+      <feature policy='require' name='rdrand'/>
459f93
       <feature policy='require' name='hypervisor'/>
459f93
+      <feature policy='require' name='arat'/>
459f93
+      <feature policy='require' name='fsgsbase'/>
459f93
+      <feature policy='require' name='bmi1'/>
459f93
+      <feature policy='require' name='smep'/>
459f93
+      <feature policy='require' name='bmi2'/>
459f93
       <feature policy='require' name='erms'/>
459f93
       <feature policy='require' name='mpx'/>
459f93
+      <feature policy='require' name='adx'/>
459f93
+      <feature policy='require' name='smap'/>
459f93
       <feature policy='require' name='pcommit'/>
459f93
+      <feature policy='require' name='clflushopt'/>
459f93
       <feature policy='require' name='clwb'/>
459f93
       <feature policy='require' name='pku'/>
459f93
       <feature policy='require' name='la57'/>
459f93
+      <feature policy='require' name='xsaveopt'/>
459f93
+      <feature policy='require' name='xgetbv1'/>
459f93
+      <feature policy='require' name='mmxext'/>
459f93
+      <feature policy='require' name='pdpe1gb'/>
459f93
       <feature policy='require' name='3dnowext'/>
459f93
       <feature policy='require' name='3dnow'/>
459f93
+      <feature policy='require' name='cr8legacy'/>
459f93
       <feature policy='require' name='npt'/>
459f93
-      <feature policy='disable' name='vme'/>
459f93
-      <feature policy='disable' name='fma'/>
459f93
-      <feature policy='disable' name='avx'/>
459f93
-      <feature policy='disable' name='f16c'/>
459f93
-      <feature policy='disable' name='avx2'/>
459f93
-      <feature policy='disable' name='rdseed'/>
459f93
-      <feature policy='disable' name='sha-ni'/>
459f93
-      <feature policy='disable' name='xsavec'/>
459f93
-      <feature policy='disable' name='fxsr_opt'/>
459f93
       <feature policy='disable' name='misalignsse'/>
459f93
-      <feature policy='disable' name='3dnowprefetch'/>
459f93
-      <feature policy='disable' name='osvw'/>
459f93
-      <feature policy='disable' name='topoext'/>
459f93
-      <feature policy='disable' name='ibpb'/>
459f93
-      <feature policy='disable' name='nrip-save'/>
459f93
     </mode>
459f93
     <mode name='custom' supported='yes'>
459f93
       <model usable='yes'>qemu64</model>
459f93
diff --git a/tests/domaincapsdata/qemu_4.2.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_4.2.0-tcg.x86_64.xml
459f93
index 91b3ed6f80..d0ee3f7b7a 100644
459f93
--- a/tests/domaincapsdata/qemu_4.2.0-tcg.x86_64.xml
459f93
+++ b/tests/domaincapsdata/qemu_4.2.0-tcg.x86_64.xml
459f93
@@ -36,36 +36,43 @@
459f93
       </enum>
459f93
     </mode>
459f93
     <mode name='host-model' supported='yes'>
459f93
-      <model fallback='forbid'>EPYC-IBPB</model>
459f93
+      <model fallback='forbid'>Opteron_G3</model>
459f93
       <vendor>AMD</vendor>
459f93
       <feature policy='require' name='acpi'/>
459f93
       <feature policy='require' name='ss'/>
459f93
+      <feature policy='require' name='pclmuldq'/>
459f93
       <feature policy='require' name='monitor'/>
459f93
+      <feature policy='require' name='ssse3'/>
459f93
+      <feature policy='require' name='sse4.1'/>
459f93
+      <feature policy='require' name='sse4.2'/>
459f93
+      <feature policy='require' name='movbe'/>
459f93
+      <feature policy='require' name='aes'/>
459f93
+      <feature policy='require' name='xsave'/>
459f93
+      <feature policy='require' name='rdrand'/>
459f93
       <feature policy='require' name='hypervisor'/>
459f93
+      <feature policy='require' name='arat'/>
459f93
+      <feature policy='require' name='fsgsbase'/>
459f93
+      <feature policy='require' name='bmi1'/>
459f93
+      <feature policy='require' name='smep'/>
459f93
+      <feature policy='require' name='bmi2'/>
459f93
       <feature policy='require' name='erms'/>
459f93
       <feature policy='require' name='mpx'/>
459f93
+      <feature policy='require' name='adx'/>
459f93
+      <feature policy='require' name='smap'/>
459f93
       <feature policy='require' name='pcommit'/>
459f93
+      <feature policy='require' name='clflushopt'/>
459f93
       <feature policy='require' name='clwb'/>
459f93
       <feature policy='require' name='pku'/>
459f93
       <feature policy='require' name='la57'/>
459f93
+      <feature policy='require' name='xsaveopt'/>
459f93
+      <feature policy='require' name='xgetbv1'/>
459f93
+      <feature policy='require' name='mmxext'/>
459f93
+      <feature policy='require' name='pdpe1gb'/>
459f93
       <feature policy='require' name='3dnowext'/>
459f93
       <feature policy='require' name='3dnow'/>
459f93
+      <feature policy='require' name='cr8legacy'/>
459f93
       <feature policy='require' name='npt'/>
459f93
-      <feature policy='disable' name='vme'/>
459f93
-      <feature policy='disable' name='fma'/>
459f93
-      <feature policy='disable' name='avx'/>
459f93
-      <feature policy='disable' name='f16c'/>
459f93
-      <feature policy='disable' name='avx2'/>
459f93
-      <feature policy='disable' name='rdseed'/>
459f93
-      <feature policy='disable' name='sha-ni'/>
459f93
-      <feature policy='disable' name='xsavec'/>
459f93
-      <feature policy='disable' name='fxsr_opt'/>
459f93
       <feature policy='disable' name='misalignsse'/>
459f93
-      <feature policy='disable' name='3dnowprefetch'/>
459f93
-      <feature policy='disable' name='osvw'/>
459f93
-      <feature policy='disable' name='topoext'/>
459f93
-      <feature policy='disable' name='ibpb'/>
459f93
-      <feature policy='disable' name='nrip-save'/>
459f93
     </mode>
459f93
     <mode name='custom' supported='yes'>
459f93
       <model usable='yes'>qemu64</model>
459f93
diff --git a/tests/domaincapsdata/qemu_5.0.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_5.0.0-tcg.x86_64.xml
459f93
index b8737613e9..d277c96426 100644
459f93
--- a/tests/domaincapsdata/qemu_5.0.0-tcg.x86_64.xml
459f93
+++ b/tests/domaincapsdata/qemu_5.0.0-tcg.x86_64.xml
459f93
@@ -36,35 +36,43 @@
459f93
       </enum>
459f93
     </mode>
459f93
     <mode name='host-model' supported='yes'>
459f93
-      <model fallback='forbid'>EPYC</model>
459f93
+      <model fallback='forbid'>Opteron_G3</model>
459f93
       <vendor>AMD</vendor>
459f93
       <feature policy='require' name='acpi'/>
459f93
       <feature policy='require' name='ss'/>
459f93
+      <feature policy='require' name='pclmuldq'/>
459f93
       <feature policy='require' name='monitor'/>
459f93
+      <feature policy='require' name='ssse3'/>
459f93
+      <feature policy='require' name='sse4.1'/>
459f93
+      <feature policy='require' name='sse4.2'/>
459f93
+      <feature policy='require' name='movbe'/>
459f93
+      <feature policy='require' name='aes'/>
459f93
+      <feature policy='require' name='xsave'/>
459f93
+      <feature policy='require' name='rdrand'/>
459f93
       <feature policy='require' name='hypervisor'/>
459f93
+      <feature policy='require' name='arat'/>
459f93
+      <feature policy='require' name='fsgsbase'/>
459f93
+      <feature policy='require' name='bmi1'/>
459f93
+      <feature policy='require' name='smep'/>
459f93
+      <feature policy='require' name='bmi2'/>
459f93
       <feature policy='require' name='erms'/>
459f93
       <feature policy='require' name='mpx'/>
459f93
+      <feature policy='require' name='adx'/>
459f93
+      <feature policy='require' name='smap'/>
459f93
       <feature policy='require' name='pcommit'/>
459f93
+      <feature policy='require' name='clflushopt'/>
459f93
       <feature policy='require' name='clwb'/>
459f93
       <feature policy='require' name='pku'/>
459f93
       <feature policy='require' name='la57'/>
459f93
+      <feature policy='require' name='xsaveopt'/>
459f93
+      <feature policy='require' name='xgetbv1'/>
459f93
+      <feature policy='require' name='mmxext'/>
459f93
+      <feature policy='require' name='pdpe1gb'/>
459f93
       <feature policy='require' name='3dnowext'/>
459f93
       <feature policy='require' name='3dnow'/>
459f93
+      <feature policy='require' name='cr8legacy'/>
459f93
       <feature policy='require' name='npt'/>
459f93
-      <feature policy='disable' name='vme'/>
459f93
-      <feature policy='disable' name='fma'/>
459f93
-      <feature policy='disable' name='avx'/>
459f93
-      <feature policy='disable' name='f16c'/>
459f93
-      <feature policy='disable' name='avx2'/>
459f93
-      <feature policy='disable' name='rdseed'/>
459f93
-      <feature policy='disable' name='sha-ni'/>
459f93
-      <feature policy='disable' name='xsavec'/>
459f93
-      <feature policy='disable' name='fxsr_opt'/>
459f93
       <feature policy='disable' name='misalignsse'/>
459f93
-      <feature policy='disable' name='3dnowprefetch'/>
459f93
-      <feature policy='disable' name='osvw'/>
459f93
-      <feature policy='disable' name='topoext'/>
459f93
-      <feature policy='disable' name='nrip-save'/>
459f93
     </mode>
459f93
     <mode name='custom' supported='yes'>
459f93
       <model usable='yes'>qemu64</model>
459f93
diff --git a/tests/domaincapsdata/qemu_5.1.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_5.1.0-tcg.x86_64.xml
459f93
index 034036ca96..4f1ffbb2ba 100644
459f93
--- a/tests/domaincapsdata/qemu_5.1.0-tcg.x86_64.xml
459f93
+++ b/tests/domaincapsdata/qemu_5.1.0-tcg.x86_64.xml
459f93
@@ -36,35 +36,43 @@
459f93
       </enum>
459f93
     </mode>
459f93
     <mode name='host-model' supported='yes'>
459f93
-      <model fallback='forbid'>EPYC</model>
459f93
+      <model fallback='forbid'>Opteron_G3</model>
459f93
       <vendor>AMD</vendor>
459f93
       <feature policy='require' name='acpi'/>
459f93
       <feature policy='require' name='ss'/>
459f93
+      <feature policy='require' name='pclmuldq'/>
459f93
       <feature policy='require' name='monitor'/>
459f93
+      <feature policy='require' name='ssse3'/>
459f93
+      <feature policy='require' name='sse4.1'/>
459f93
+      <feature policy='require' name='sse4.2'/>
459f93
+      <feature policy='require' name='movbe'/>
459f93
+      <feature policy='require' name='aes'/>
459f93
+      <feature policy='require' name='xsave'/>
459f93
+      <feature policy='require' name='rdrand'/>
459f93
       <feature policy='require' name='hypervisor'/>
459f93
+      <feature policy='require' name='arat'/>
459f93
+      <feature policy='require' name='fsgsbase'/>
459f93
+      <feature policy='require' name='bmi1'/>
459f93
+      <feature policy='require' name='smep'/>
459f93
+      <feature policy='require' name='bmi2'/>
459f93
       <feature policy='require' name='erms'/>
459f93
       <feature policy='require' name='mpx'/>
459f93
+      <feature policy='require' name='adx'/>
459f93
+      <feature policy='require' name='smap'/>
459f93
       <feature policy='require' name='pcommit'/>
459f93
+      <feature policy='require' name='clflushopt'/>
459f93
       <feature policy='require' name='clwb'/>
459f93
       <feature policy='require' name='pku'/>
459f93
       <feature policy='require' name='la57'/>
459f93
+      <feature policy='require' name='xsaveopt'/>
459f93
+      <feature policy='require' name='xgetbv1'/>
459f93
+      <feature policy='require' name='mmxext'/>
459f93
+      <feature policy='require' name='pdpe1gb'/>
459f93
       <feature policy='require' name='3dnowext'/>
459f93
       <feature policy='require' name='3dnow'/>
459f93
+      <feature policy='require' name='cr8legacy'/>
459f93
       <feature policy='require' name='npt'/>
459f93
-      <feature policy='disable' name='vme'/>
459f93
-      <feature policy='disable' name='fma'/>
459f93
-      <feature policy='disable' name='avx'/>
459f93
-      <feature policy='disable' name='f16c'/>
459f93
-      <feature policy='disable' name='avx2'/>
459f93
-      <feature policy='disable' name='rdseed'/>
459f93
-      <feature policy='disable' name='sha-ni'/>
459f93
-      <feature policy='disable' name='xsavec'/>
459f93
-      <feature policy='disable' name='fxsr_opt'/>
459f93
       <feature policy='disable' name='misalignsse'/>
459f93
-      <feature policy='disable' name='3dnowprefetch'/>
459f93
-      <feature policy='disable' name='osvw'/>
459f93
-      <feature policy='disable' name='topoext'/>
459f93
-      <feature policy='disable' name='nrip-save'/>
459f93
     </mode>
459f93
     <mode name='custom' supported='yes'>
459f93
       <model usable='yes'>qemu64</model>
459f93
diff --git a/tests/domaincapsdata/qemu_5.2.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_5.2.0-tcg.x86_64.xml
459f93
index d3a4b01234..6cff0f815e 100644
459f93
--- a/tests/domaincapsdata/qemu_5.2.0-tcg.x86_64.xml
459f93
+++ b/tests/domaincapsdata/qemu_5.2.0-tcg.x86_64.xml
459f93
@@ -36,35 +36,43 @@
459f93
       </enum>
459f93
     </mode>
459f93
     <mode name='host-model' supported='yes'>
459f93
-      <model fallback='forbid'>EPYC</model>
459f93
+      <model fallback='forbid'>Opteron_G3</model>
459f93
       <vendor>AMD</vendor>
459f93
       <feature policy='require' name='acpi'/>
459f93
       <feature policy='require' name='ss'/>
459f93
+      <feature policy='require' name='pclmuldq'/>
459f93
       <feature policy='require' name='monitor'/>
459f93
+      <feature policy='require' name='ssse3'/>
459f93
+      <feature policy='require' name='sse4.1'/>
459f93
+      <feature policy='require' name='sse4.2'/>
459f93
+      <feature policy='require' name='movbe'/>
459f93
+      <feature policy='require' name='aes'/>
459f93
+      <feature policy='require' name='xsave'/>
459f93
+      <feature policy='require' name='rdrand'/>
459f93
       <feature policy='require' name='hypervisor'/>
459f93
+      <feature policy='require' name='arat'/>
459f93
+      <feature policy='require' name='fsgsbase'/>
459f93
+      <feature policy='require' name='bmi1'/>
459f93
+      <feature policy='require' name='smep'/>
459f93
+      <feature policy='require' name='bmi2'/>
459f93
       <feature policy='require' name='erms'/>
459f93
       <feature policy='require' name='mpx'/>
459f93
+      <feature policy='require' name='adx'/>
459f93
+      <feature policy='require' name='smap'/>
459f93
       <feature policy='require' name='pcommit'/>
459f93
+      <feature policy='require' name='clflushopt'/>
459f93
       <feature policy='require' name='clwb'/>
459f93
       <feature policy='require' name='pku'/>
459f93
       <feature policy='require' name='la57'/>
459f93
+      <feature policy='require' name='xsaveopt'/>
459f93
+      <feature policy='require' name='xgetbv1'/>
459f93
+      <feature policy='require' name='mmxext'/>
459f93
+      <feature policy='require' name='pdpe1gb'/>
459f93
       <feature policy='require' name='3dnowext'/>
459f93
       <feature policy='require' name='3dnow'/>
459f93
+      <feature policy='require' name='cr8legacy'/>
459f93
       <feature policy='require' name='npt'/>
459f93
-      <feature policy='disable' name='vme'/>
459f93
-      <feature policy='disable' name='fma'/>
459f93
-      <feature policy='disable' name='avx'/>
459f93
-      <feature policy='disable' name='f16c'/>
459f93
-      <feature policy='disable' name='avx2'/>
459f93
-      <feature policy='disable' name='rdseed'/>
459f93
-      <feature policy='disable' name='sha-ni'/>
459f93
-      <feature policy='disable' name='xsavec'/>
459f93
-      <feature policy='disable' name='fxsr_opt'/>
459f93
       <feature policy='disable' name='misalignsse'/>
459f93
-      <feature policy='disable' name='3dnowprefetch'/>
459f93
-      <feature policy='disable' name='osvw'/>
459f93
-      <feature policy='disable' name='topoext'/>
459f93
-      <feature policy='disable' name='nrip-save'/>
459f93
     </mode>
459f93
     <mode name='custom' supported='yes'>
459f93
       <model usable='yes'>qemu64</model>
459f93
diff --git a/tests/domaincapsdata/qemu_6.0.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_6.0.0-tcg.x86_64.xml
459f93
index 6b85c9c45a..65f4459bcb 100644
459f93
--- a/tests/domaincapsdata/qemu_6.0.0-tcg.x86_64.xml
459f93
+++ b/tests/domaincapsdata/qemu_6.0.0-tcg.x86_64.xml
459f93
@@ -36,35 +36,43 @@
459f93
       </enum>
459f93
     </mode>
459f93
     <mode name='host-model' supported='yes'>
459f93
-      <model fallback='forbid'>EPYC</model>
459f93
+      <model fallback='forbid'>Opteron_G3</model>
459f93
       <vendor>AMD</vendor>
459f93
       <feature policy='require' name='acpi'/>
459f93
       <feature policy='require' name='ss'/>
459f93
+      <feature policy='require' name='pclmuldq'/>
459f93
       <feature policy='require' name='monitor'/>
459f93
+      <feature policy='require' name='ssse3'/>
459f93
+      <feature policy='require' name='sse4.1'/>
459f93
+      <feature policy='require' name='sse4.2'/>
459f93
+      <feature policy='require' name='movbe'/>
459f93
+      <feature policy='require' name='aes'/>
459f93
+      <feature policy='require' name='xsave'/>
459f93
+      <feature policy='require' name='rdrand'/>
459f93
       <feature policy='require' name='hypervisor'/>
459f93
+      <feature policy='require' name='arat'/>
459f93
+      <feature policy='require' name='fsgsbase'/>
459f93
+      <feature policy='require' name='bmi1'/>
459f93
+      <feature policy='require' name='smep'/>
459f93
+      <feature policy='require' name='bmi2'/>
459f93
       <feature policy='require' name='erms'/>
459f93
       <feature policy='require' name='mpx'/>
459f93
+      <feature policy='require' name='adx'/>
459f93
+      <feature policy='require' name='smap'/>
459f93
       <feature policy='require' name='pcommit'/>
459f93
+      <feature policy='require' name='clflushopt'/>
459f93
       <feature policy='require' name='clwb'/>
459f93
       <feature policy='require' name='pku'/>
459f93
       <feature policy='require' name='la57'/>
459f93
+      <feature policy='require' name='xsaveopt'/>
459f93
+      <feature policy='require' name='xgetbv1'/>
459f93
+      <feature policy='require' name='mmxext'/>
459f93
+      <feature policy='require' name='pdpe1gb'/>
459f93
       <feature policy='require' name='3dnowext'/>
459f93
       <feature policy='require' name='3dnow'/>
459f93
+      <feature policy='require' name='cr8legacy'/>
459f93
       <feature policy='require' name='npt'/>
459f93
-      <feature policy='disable' name='vme'/>
459f93
-      <feature policy='disable' name='fma'/>
459f93
-      <feature policy='disable' name='avx'/>
459f93
-      <feature policy='disable' name='f16c'/>
459f93
-      <feature policy='disable' name='avx2'/>
459f93
-      <feature policy='disable' name='rdseed'/>
459f93
-      <feature policy='disable' name='sha-ni'/>
459f93
-      <feature policy='disable' name='xsavec'/>
459f93
-      <feature policy='disable' name='fxsr_opt'/>
459f93
       <feature policy='disable' name='misalignsse'/>
459f93
-      <feature policy='disable' name='3dnowprefetch'/>
459f93
-      <feature policy='disable' name='osvw'/>
459f93
-      <feature policy='disable' name='topoext'/>
459f93
-      <feature policy='disable' name='nrip-save'/>
459f93
     </mode>
459f93
     <mode name='custom' supported='yes'>
459f93
       <model usable='yes'>qemu64</model>
459f93
diff --git a/tests/domaincapsdata/qemu_6.1.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_6.1.0-tcg.x86_64.xml
459f93
index 2c761fc1af..40bc875e3c 100644
459f93
--- a/tests/domaincapsdata/qemu_6.1.0-tcg.x86_64.xml
459f93
+++ b/tests/domaincapsdata/qemu_6.1.0-tcg.x86_64.xml
459f93
@@ -36,35 +36,43 @@
459f93
       </enum>
459f93
     </mode>
459f93
     <mode name='host-model' supported='yes'>
459f93
-      <model fallback='forbid'>EPYC</model>
459f93
+      <model fallback='forbid'>Opteron_G3</model>
459f93
       <vendor>AMD</vendor>
459f93
       <feature policy='require' name='acpi'/>
459f93
       <feature policy='require' name='ss'/>
459f93
+      <feature policy='require' name='pclmuldq'/>
459f93
       <feature policy='require' name='monitor'/>
459f93
+      <feature policy='require' name='ssse3'/>
459f93
+      <feature policy='require' name='sse4.1'/>
459f93
+      <feature policy='require' name='sse4.2'/>
459f93
+      <feature policy='require' name='movbe'/>
459f93
+      <feature policy='require' name='aes'/>
459f93
+      <feature policy='require' name='xsave'/>
459f93
+      <feature policy='require' name='rdrand'/>
459f93
       <feature policy='require' name='hypervisor'/>
459f93
+      <feature policy='require' name='arat'/>
459f93
+      <feature policy='require' name='fsgsbase'/>
459f93
+      <feature policy='require' name='bmi1'/>
459f93
+      <feature policy='require' name='smep'/>
459f93
+      <feature policy='require' name='bmi2'/>
459f93
       <feature policy='require' name='erms'/>
459f93
       <feature policy='require' name='mpx'/>
459f93
+      <feature policy='require' name='adx'/>
459f93
+      <feature policy='require' name='smap'/>
459f93
       <feature policy='require' name='pcommit'/>
459f93
+      <feature policy='require' name='clflushopt'/>
459f93
       <feature policy='require' name='clwb'/>
459f93
       <feature policy='require' name='pku'/>
459f93
       <feature policy='require' name='la57'/>
459f93
+      <feature policy='require' name='xsaveopt'/>
459f93
+      <feature policy='require' name='xgetbv1'/>
459f93
+      <feature policy='require' name='mmxext'/>
459f93
+      <feature policy='require' name='pdpe1gb'/>
459f93
       <feature policy='require' name='3dnowext'/>
459f93
       <feature policy='require' name='3dnow'/>
459f93
+      <feature policy='require' name='cr8legacy'/>
459f93
       <feature policy='require' name='npt'/>
459f93
-      <feature policy='disable' name='vme'/>
459f93
-      <feature policy='disable' name='fma'/>
459f93
-      <feature policy='disable' name='avx'/>
459f93
-      <feature policy='disable' name='f16c'/>
459f93
-      <feature policy='disable' name='avx2'/>
459f93
-      <feature policy='disable' name='rdseed'/>
459f93
-      <feature policy='disable' name='sha-ni'/>
459f93
-      <feature policy='disable' name='xsavec'/>
459f93
-      <feature policy='disable' name='fxsr_opt'/>
459f93
       <feature policy='disable' name='misalignsse'/>
459f93
-      <feature policy='disable' name='3dnowprefetch'/>
459f93
-      <feature policy='disable' name='osvw'/>
459f93
-      <feature policy='disable' name='topoext'/>
459f93
-      <feature policy='disable' name='nrip-save'/>
459f93
     </mode>
459f93
     <mode name='custom' supported='yes'>
459f93
       <model usable='yes'>qemu64</model>
459f93
diff --git a/tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml b/tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml
459f93
index 8db840faac..a439dda190 100644
459f93
--- a/tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml
459f93
+++ b/tests/domaincapsdata/qemu_6.2.0-tcg.x86_64.xml
459f93
@@ -36,36 +36,44 @@
459f93
       </enum>
459f93
     </mode>
459f93
     <mode name='host-model' supported='yes'>
459f93
-      <model fallback='forbid'>EPYC</model>
459f93
+      <model fallback='forbid'>Opteron_G3</model>
459f93
       <vendor>AMD</vendor>
459f93
       <feature policy='require' name='acpi'/>
459f93
       <feature policy='require' name='ss'/>
459f93
+      <feature policy='require' name='pclmuldq'/>
459f93
       <feature policy='require' name='monitor'/>
459f93
+      <feature policy='require' name='ssse3'/>
459f93
+      <feature policy='require' name='sse4.1'/>
459f93
+      <feature policy='require' name='sse4.2'/>
459f93
+      <feature policy='require' name='movbe'/>
459f93
+      <feature policy='require' name='aes'/>
459f93
+      <feature policy='require' name='xsave'/>
459f93
+      <feature policy='require' name='rdrand'/>
459f93
       <feature policy='require' name='hypervisor'/>
459f93
+      <feature policy='require' name='arat'/>
459f93
+      <feature policy='require' name='fsgsbase'/>
459f93
+      <feature policy='require' name='bmi1'/>
459f93
+      <feature policy='require' name='smep'/>
459f93
+      <feature policy='require' name='bmi2'/>
459f93
       <feature policy='require' name='erms'/>
459f93
       <feature policy='require' name='mpx'/>
459f93
+      <feature policy='require' name='adx'/>
459f93
+      <feature policy='require' name='smap'/>
459f93
       <feature policy='require' name='pcommit'/>
459f93
+      <feature policy='require' name='clflushopt'/>
459f93
       <feature policy='require' name='clwb'/>
459f93
       <feature policy='require' name='pku'/>
459f93
       <feature policy='require' name='la57'/>
459f93
+      <feature policy='require' name='xsaveopt'/>
459f93
+      <feature policy='require' name='xgetbv1'/>
459f93
+      <feature policy='require' name='mmxext'/>
459f93
+      <feature policy='require' name='pdpe1gb'/>
459f93
       <feature policy='require' name='3dnowext'/>
459f93
       <feature policy='require' name='3dnow'/>
459f93
+      <feature policy='require' name='cr8legacy'/>
459f93
       <feature policy='require' name='npt'/>
459f93
       <feature policy='require' name='svme-addr-chk'/>
459f93
-      <feature policy='disable' name='vme'/>
459f93
-      <feature policy='disable' name='fma'/>
459f93
-      <feature policy='disable' name='avx'/>
459f93
-      <feature policy='disable' name='f16c'/>
459f93
-      <feature policy='disable' name='avx2'/>
459f93
-      <feature policy='disable' name='rdseed'/>
459f93
-      <feature policy='disable' name='sha-ni'/>
459f93
-      <feature policy='disable' name='xsavec'/>
459f93
-      <feature policy='disable' name='fxsr_opt'/>
459f93
       <feature policy='disable' name='misalignsse'/>
459f93
-      <feature policy='disable' name='3dnowprefetch'/>
459f93
-      <feature policy='disable' name='osvw'/>
459f93
-      <feature policy='disable' name='topoext'/>
459f93
-      <feature policy='disable' name='nrip-save'/>
459f93
     </mode>
459f93
     <mode name='custom' supported='yes'>
459f93
       <model usable='yes'>qemu64</model>
459f93
diff --git a/tests/qemuxml2argvdata/cpu-fallback.args b/tests/qemuxml2argvdata/cpu-fallback.args
459f93
index 1b1769d420..53667dfa3a 100644
459f93
--- a/tests/qemuxml2argvdata/cpu-fallback.args
459f93
+++ b/tests/qemuxml2argvdata/cpu-fallback.args
459f93
@@ -13,7 +13,7 @@ QEMU_AUDIO_DRV=none \
459f93
 -object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
459f93
 -machine pc,usb=off,dump-guest-core=off \
459f93
 -accel kvm \
459f93
--cpu Penryn,sse4.1=off,sse4.2=off,popcnt=off,aes=off \
459f93
+-cpu Conroe,cx16=on,sse4.1=off,sse4.2=off,popcnt=off,aes=off \
459f93
 -m 214 \
459f93
 -realtime mlock=off \
459f93
 -smp 6,sockets=6,cores=1,threads=1 \
459f93
diff --git a/tests/qemuxml2argvdata/cpu-host-model-cmt.x86_64-4.0.0.args b/tests/qemuxml2argvdata/cpu-host-model-cmt.x86_64-4.0.0.args
459f93
index 3ff226a289..0de09e1d88 100644
459f93
--- a/tests/qemuxml2argvdata/cpu-host-model-cmt.x86_64-4.0.0.args
459f93
+++ b/tests/qemuxml2argvdata/cpu-host-model-cmt.x86_64-4.0.0.args
459f93
@@ -13,7 +13,7 @@ QEMU_AUDIO_DRV=none \
459f93
 -object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
459f93
 -machine pc-i440fx-4.0,usb=off,dump-guest-core=off \
459f93
 -accel tcg \
459f93
--cpu EPYC,acpi=on,ss=on,monitor=on,hypervisor=on,erms=on,mpx=on,pcommit=on,clwb=on,pku=on,la57=on,3dnowext=on,3dnow=on,npt=on,vme=off,fma=off,avx=off,f16c=off,rdrand=off,avx2=off,rdseed=off,sha-ni=off,xsavec=off,fxsr-opt=off,misalignsse=off,3dnowprefetch=off,osvw=off,topoext=off,nrip-save=off \
459f93
+-cpu Opteron_G3,acpi=on,ss=on,pclmulqdq=on,monitor=on,ssse3=on,sse4.1=on,sse4.2=on,movbe=on,aes=on,xsave=on,hypervisor=on,arat=on,fsgsbase=on,bmi1=on,smep=on,bmi2=on,erms=on,mpx=on,adx=on,smap=on,pcommit=on,clflushopt=on,clwb=on,pku=on,la57=on,xsaveopt=on,xgetbv1=on,mmxext=on,pdpe1gb=on,3dnowext=on,3dnow=on,cr8legacy=on,npt=on,misalignsse=off \
459f93
 -m 214 \
459f93
 -overcommit mem-lock=off \
459f93
 -smp 6,sockets=6,cores=1,threads=1 \
459f93
diff --git a/tests/qemuxml2argvdata/cpu-host-model-fallback.args b/tests/qemuxml2argvdata/cpu-host-model-fallback.args
459f93
index e90b781da4..763e630120 100644
459f93
--- a/tests/qemuxml2argvdata/cpu-host-model-fallback.args
459f93
+++ b/tests/qemuxml2argvdata/cpu-host-model-fallback.args
459f93
@@ -13,7 +13,7 @@ QEMU_AUDIO_DRV=none \
459f93
 -object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
459f93
 -machine pc,usb=off,dump-guest-core=off \
459f93
 -accel tcg \
459f93
--cpu Penryn,vme=on,ds=on,acpi=on,ss=on,ht=on,tm=on,pbe=on,monitor=on,ds-cpl=on,vmx=on,est=on,tm2=on,xtpr=on,sse4.1=off,cx16=on,lahf-lm=on \
459f93
+-cpu Conroe,vme=on,ds=on,acpi=on,ss=on,ht=on,tm=on,pbe=on,monitor=on,ds-cpl=on,vmx=on,est=on,tm2=on,cx16=on,xtpr=on,lahf-lm=on \
459f93
 -m 214 \
459f93
 -realtime mlock=off \
459f93
 -smp 6,sockets=6,cores=1,threads=1 \
459f93
-- 
459f93
2.35.1
459f93