]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
sync_qemu_models_i386: add new features for nested virtualization
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 30 Apr 2026 13:08:38 +0000 (15:08 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 7 May 2026 09:06:10 +0000 (11:06 +0200)
These features do not appear yet in the CPU models, but
will be added soon:

https://lore.kernel.org/qemu-devel/20260330193428.1663253-2-jon@nutanix.com/
https://lore.kernel.org/qemu-devel/20260330193428.1663253-4-jon@nutanix.com/

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/cpu_map/sync_qemu_models_i386.py

index 447a77f389dfe875911f164625f9c7d1984e8881..68f162b96402b8d4cf94569427a9cc8bf6d82db1 100755 (executable)
@@ -220,6 +220,7 @@ def translate_feature(name, model):
         "CPUID_SVM_PFTHRESHOLD": "pfthreshold",
         "CPUID_SVM_V_VMSAVE_VMLOAD": "v-vmsave-vmload",
         "CPUID_SVM_VGIF": "vgif",
+        "CPUID_SVM_GMET": "gmet",
         "CPUID_TSC": "tsc",
         "CPUID_VME": "vme",
         "CPUID_XSAVE_XGETBV1": "xgetbv1",
@@ -287,6 +288,7 @@ def translate_feature(name, model):
         "VMX_SECONDARY_EXEC_XSAVES": "vmx-xsaves",
         "VMX_SECONDARY_EXEC_TSC_SCALING": "vmx-tsc-scaling",
         "VMX_SECONDARY_EXEC_ENABLE_USER_WAIT_PAUSE": "vmx-enable-user-wait-pause",
+        "VMX_SECONDARY_EXEC_MODE_BASED_EPT_EXEC": "vmx-mbec",
 
         # FEAT_VMX_PINBASED_CTLS
         "VMX_PIN_BASED_EXT_INTR_MASK": "vmx-intr-exit",