On Fri, 2024-08-02 at 12:02 +0000, Huang, Kai wrote: > This will trigger the above "WARN_ON(kvm_usage_count);" when > enable_virt_at_load is true, because kvm_uninit_virtualization() isn't > the last call of kvm_disable_virtualization(). Correct: the WARN_ON() will be triggered regardless of enable_virt_at_load is true or false, if kvm_uninit_virtualization() isn't the last call of kvm_disable_virtualization().