diff mbox series

[v1,1/1] target/i386: Add VMX entry load FRED control name to VMX feature words

Message ID 20240707181057.2793329-1-xin@zytor.com (mailing list archive)
State New, archived
Headers show
Series [v1,1/1] target/i386: Add VMX entry load FRED control name to VMX feature words | expand

Commit Message

Xin Li July 7, 2024, 6:10 p.m. UTC
As VMX entry load FRED control is required to enable FRED in nested VMX,
add it to VMX feature words.

Signed-off-by: Xin Li (Intel) <xin@zytor.com>
---
 target/i386/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: f2cb4026fccfe073f84a4b440e41d3ed0c3134f6

Comments

Zhao Liu July 8, 2024, 3:22 a.m. UTC | #1
On Sun, Jul 07, 2024 at 11:10:57AM -0700, Xin Li (Intel) wrote:
> Date: Sun,  7 Jul 2024 11:10:57 -0700
> From: "Xin Li (Intel)" <xin@zytor.com>
> Subject: [PATCH v1 1/1] target/i386: Add VMX entry load FRED control name
>  to VMX feature words
> X-Mailer: git-send-email 2.45.2
> 
> As VMX entry load FRED control is required to enable FRED in nested VMX,
> add it to VMX feature words.
> 
> Signed-off-by: Xin Li (Intel) <xin@zytor.com>
> ---
>  target/i386/cpu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
diff mbox series

Patch

diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index c05765eeaf..84a09c19cf 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -1450,7 +1450,7 @@  FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
             NULL, "vmx-entry-ia32e-mode", NULL, NULL,
             NULL, "vmx-entry-load-perf-global-ctrl", "vmx-entry-load-pat", "vmx-entry-load-efer",
             "vmx-entry-load-bndcfgs", NULL, "vmx-entry-load-rtit-ctl", NULL,
-            NULL, NULL, "vmx-entry-load-pkrs", NULL,
+            NULL, NULL, "vmx-entry-load-pkrs", "vmx-entry-load-fred",
             NULL, NULL, NULL, NULL,
             NULL, NULL, NULL, NULL,
         },