qemu: Translate vmx-invvpid-single-context-noglobals CPU feature

This feature is called "vmx-invept-single-context-noglobals" in QEMU and
our CPU map even contains the appropriate alias. But we failed to
actually translate the name when talking to QEMU.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Jiri Denemark 2024-10-08 12:26:43 +02:00
parent 662e511d1e
commit 98700d354b
10 changed files with 10 additions and 4 deletions

View File

@ -3570,6 +3570,7 @@ virQEMUCapsCPUFeatureTranslationTable virQEMUCapsCPUFeaturesX86[] = {
{"perfctr_core", "perfctr-core"},
{"perfctr_nb", "perfctr-nb"},
{"tsc_adjust", "tsc-adjust"},
{"vmx-invvpid-single-context-noglobals", "vmx-invept-single-context-noglobals"},
{NULL, NULL}
};

View File

@ -10,7 +10,7 @@
<msr index='0x480' edx='0x00c00000' eax='0x00000000'/>
<msr index='0x485' edx='0x00000000' eax='0x20000060'/>
<msr index='0x48b' edx='0x00000000' eax='0x00136bff'/>
<msr index='0x48c' edx='0x00000501' eax='0x06330041'/>
<msr index='0x48c' edx='0x00000d01' eax='0x06330041'/>
<msr index='0x48d' edx='0x00000000' eax='0x000000e9'/>
<msr index='0x48e' edx='0x00000000' eax='0xfbf99e8c'/>
<msr index='0x48f' edx='0x00000000' eax='0x007c8004'/>

View File

@ -50,6 +50,7 @@
<feature policy='require' name='vmx-invvpid'/>
<feature policy='require' name='vmx-invvpid-single-addr'/>
<feature policy='require' name='vmx-invvpid-all-context'/>
<feature policy='require' name='vmx-invvpid-single-context-noglobals'/>
<feature policy='require' name='vmx-intr-exit'/>
<feature policy='require' name='vmx-nmi-exit'/>
<feature policy='require' name='vmx-vnmi'/>

View File

@ -11,7 +11,7 @@
<msr index='0x480' edx='0x00c00000' eax='0x00000000'/>
<msr index='0x485' edx='0x00000000' eax='0x20000060'/>
<msr index='0x48b' edx='0x00000000' eax='0x00137bff'/>
<msr index='0x48c' edx='0x00000501' eax='0x06330041'/>
<msr index='0x48c' edx='0x00000d01' eax='0x06330041'/>
<msr index='0x48d' edx='0x00000000' eax='0x000000e9'/>
<msr index='0x48e' edx='0x00000000' eax='0xfbf99e8c'/>
<msr index='0x48f' edx='0x00000000' eax='0x007c8004'/>

View File

@ -46,6 +46,7 @@
<feature policy='require' name='vmx-invvpid'/>
<feature policy='require' name='vmx-invvpid-single-addr'/>
<feature policy='require' name='vmx-invvpid-all-context'/>
<feature policy='require' name='vmx-invvpid-single-context-noglobals'/>
<feature policy='require' name='vmx-intr-exit'/>
<feature policy='require' name='vmx-nmi-exit'/>
<feature policy='require' name='vmx-vnmi'/>

View File

@ -9,7 +9,7 @@
<msr index='0x480' edx='0x00c00000' eax='0x00000000'/>
<msr index='0x485' edx='0x00000000' eax='0x20000060'/>
<msr index='0x48b' edx='0x00000000' eax='0x001378ff'/>
<msr index='0x48c' edx='0x00000501' eax='0x06330041'/>
<msr index='0x48c' edx='0x00000d01' eax='0x06330041'/>
<msr index='0x48d' edx='0x00000000' eax='0x00000069'/>
<msr index='0x48e' edx='0x00000000' eax='0xfbf99e8c'/>
<msr index='0x48f' edx='0x00000000' eax='0x007c8004'/>

View File

@ -47,6 +47,7 @@
<feature policy='require' name='vmx-invvpid'/>
<feature policy='require' name='vmx-invvpid-single-addr'/>
<feature policy='require' name='vmx-invvpid-all-context'/>
<feature policy='require' name='vmx-invvpid-single-context-noglobals'/>
<feature policy='require' name='vmx-intr-exit'/>
<feature policy='require' name='vmx-nmi-exit'/>
<feature policy='require' name='vmx-vnmi'/>

View File

@ -10,7 +10,7 @@
<msr index='0x480' edx='0x00c00000' eax='0x00000000'/>
<msr index='0x485' edx='0x00000000' eax='0x20000060'/>
<msr index='0x48b' edx='0x00000000' eax='0x00137bff'/>
<msr index='0x48c' edx='0x00000501' eax='0x06330041'/>
<msr index='0x48c' edx='0x00000d01' eax='0x06330041'/>
<msr index='0x48d' edx='0x00000000' eax='0x000000e9'/>
<msr index='0x48e' edx='0x00000000' eax='0xfbf99e8c'/>
<msr index='0x48f' edx='0x00000000' eax='0x007c8004'/>

View File

@ -53,6 +53,7 @@
<feature policy='require' name='vmx-invvpid'/>
<feature policy='require' name='vmx-invvpid-single-addr'/>
<feature policy='require' name='vmx-invvpid-all-context'/>
<feature policy='require' name='vmx-invvpid-single-context-noglobals'/>
<feature policy='require' name='vmx-intr-exit'/>
<feature policy='require' name='vmx-nmi-exit'/>
<feature policy='require' name='vmx-vnmi'/>

View File

@ -53,6 +53,7 @@
<feature policy='require' name='vmx-invvpid'/>
<feature policy='require' name='vmx-invvpid-single-addr'/>
<feature policy='require' name='vmx-invvpid-all-context'/>
<feature policy='require' name='vmx-invvpid-single-context-noglobals'/>
<feature policy='require' name='vmx-intr-exit'/>
<feature policy='require' name='vmx-nmi-exit'/>
<feature policy='require' name='vmx-vnmi'/>