linux/arch/x86/include
Sean Christopherson 4f8396b96a KVM: x86: Move guts of kvm_arch_init() to standalone helper
Move the guts of kvm_arch_init() to a new helper, kvm_x86_vendor_init(),
so that VMX can do _all_ arch and vendor initialization before calling
kvm_init().  Calling kvm_init() must be the _very_ last step during init,
as kvm_init() exposes /dev/kvm to userspace, i.e. allows creating VMs.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20221130230934.1014142-14-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-12-29 15:41:00 -05:00
..
asm KVM: x86: Move guts of kvm_arch_init() to standalone helper 2022-12-29 15:41:00 -05:00
uapi/asm KVM: Delete all references to removed KVM_SET_MEMORY_ALIAS ioctl 2022-12-02 12:54:40 -05:00