On 4/3/23 17:24, Sean Christopherson wrote:
An alternative would be to force emulation when using KVM, but KVM doesn't currently
emulating pcommit (deprecated by Intel), clwb, or any of the fence instructions
(at least, not afaict; I'm somewhat surprised *fence isn't "required").
diff --git a/x86/unittests.cfg b/x86/unittests.cfg
index f324e32d..5afb5dad 100644
--- a/x86/unittests.cfg
+++ b/x86/unittests.cfg
@@ -185,6 +185,7 @@ arch = x86_64
[memory]
file = memory.flat
+accel = tcg
extra_params = -cpu max
arch = x86_64
I think we should just drop the "CPUID bit non-present" case.
Paolo