Message ID | 20230901053022.18672-4-xin3.li@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | target/i386: add support for FRED | expand |
On 9/1/23 07:30, Xin Li wrote: > Allow VMX nested-exception support to be exposed in KVM guests, thus > nested KVM guests can enumerate it. > > Tested-by: Shan Kang <shan.kang@intel.com> > Signed-off-by: Xin Li <xin3.li@intel.com> > --- > target/i386/cpu.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/target/i386/cpu.c b/target/i386/cpu.c > index 3dba6b46d9..ba579e1fb7 100644 > --- a/target/i386/cpu.c > +++ b/target/i386/cpu.c > @@ -1340,6 +1340,7 @@ FeatureWordInfo feature_word_info[FEATURE_WORDS] = { > .feat_names = { > [54] = "vmx-ins-outs", > [55] = "vmx-true-ctls", > + [58] = "vmx-nested-exception", > }, > .msr = { > .index = MSR_IA32_VMX_BASIC, Please also add it to scripts/kvm/vmxcap, and rebase on top of the recent introduction of MSR_VMX_BASIC_ANY_ERRCODE. Paolo
diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 3dba6b46d9..ba579e1fb7 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -1340,6 +1340,7 @@ FeatureWordInfo feature_word_info[FEATURE_WORDS] = { .feat_names = { [54] = "vmx-ins-outs", [55] = "vmx-true-ctls", + [58] = "vmx-nested-exception", }, .msr = { .index = MSR_IA32_VMX_BASIC,