On Wed, Nov 24 2021 at 16:19, isaku yamahata wrote: > From: Sean Christopherson <sean.j.christopherson@xxxxxxxxx> > > Swap the order of hardware_enable_all() and kvm_arch_init_vm() to > accommodate Intel's TDX, which needs VMX to be enabled during VM init in > order to make SEAMCALLs. > > This also provides consistent ordering between kvm_create_vm() and > kvm_destroy_vm() with respect to calling kvm_arch_destroy_vm() and > hardware_disable_all(). So far so good. This should also explain that there is no downside with that order change especially as this order has been that way for a long time. Thanks, tglx