From: Paolo Bonzini Date: Mon, 13 Apr 2026 11:04:48 +0000 (+0200) Subject: Merge tag 'kvm-x86-vmxon-7.1' of https://github.com/kvm-x86/linux into HEAD X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4a530993dafec27085321424aeab303eb0e7869e;p=thirdparty%2Fkernel%2Flinux.git Merge tag 'kvm-x86-vmxon-7.1' of https://github.com/kvm-x86/linux into HEAD KVM x86 VMXON and EFER.SVME extraction for 7.1 Move _only_ VMXON+VMXOFF and EFER.SVME toggling out of KVM (versus all of VMX and SVM enabling) out of KVM and into the core kernel so that non-KVM TDX enabling, e.g. for trusted I/O, can make SEAMCALLs without needing to ensure KVM is fully loaded. TIO isn't a hypervisor, and isn't trying to be a hypervisor. Specifically, TIO should _never_ have it's own VMCSes (that are visible to the host; the TDX-Module has it's own VMCSes to do SEAMCALL/SEAMRET), and so there is simply no reason to move that functionality out of KVM. With that out of the way, dealing with VMXON/VMXOFF and EFER.SVME is a fairly simple refcounting game. --- 4a530993dafec27085321424aeab303eb0e7869e