On Wed, Mar 13, 2024 at 11:30:11PM +0800, Binbin Wu <binbin.wu@xxxxxxxxxxxxxxx> wrote: > > > On 2/26/2024 4:25 PM, isaku.yamahata@xxxxxxxxx wrote: > > From: Isaku Yamahata <isaku.yamahata@xxxxxxxxx> > > > > vmx_hardware_disable() accesses loaded_vmcss_on_cpu via > > hardware_disable_all(). To allow hardware_enable/disable_all() before > > kvm_init(), initialize it in before kvm_x86_vendor_init() in vmx_init() > > so that tdx module initialization, hardware_setup method, can reference > > the variable. > > > > Signed-off-by: Isaku Yamahata <isaku.yamahata@xxxxxxxxx> > > Reviewed-by: Yuan Yao <yuan.yao@xxxxxxxxx> > > The shortlog should be this? > KVM: VMX: Initialize loaded_vmcss_on_cpu in vmx_init() Yes. I also will fix the shortlog in the next patch. -- Isaku Yamahata <isaku.yamahata@xxxxxxxxx>