On Thu, Jul 07, 2022 at 10:55:35AM +0800, Yuan Yao <yuan.yao@xxxxxxxxxxxxxxx> wrote: > On Mon, Jun 27, 2022 at 02:53:05PM -0700, isaku.yamahata@xxxxxxxxx wrote: > > From: Isaku Yamahata <isaku.yamahata@xxxxxxxxx> > > > > NOTE: This patch is in position of the patch series for developers to be > > able to test codes during the middle of the patch series although this > > patch series doesn't provide functional features until the all the patches > > of this patch series. When merging this patch series, this patch can be > > moved to the end. > > > > As first step TDX VM support, return that TDX VM type supported to device > > model, e.g. qemu. The callback to create guest TD is vm_init callback for > > KVM_CREATE_VM. Add a place holder function and call a function to > > initialize TDX module on demand because in that callback VMX is enabled by > > hardware_enable callback (vmx_hardware_enable). > > if the "initialize TDX module on demand" means calling tdx_init() then > it's already done in kvm_init() -> > kvm_arch_post_hardware_enable_setup from patch 11, so may need commit > messsage update here. Somehow I missed to delete those lines. Will remove "Add a place ...". -- Isaku Yamahata <isaku.yamahata@xxxxxxxxx>