diff options
| author | Sean Christopherson <[email protected]> | 2022-11-30 23:08:57 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-12-29 15:41:00 -0500 |
| commit | 4f8396b96a9fc672964842fe7adbe8ddca8a3adf (patch) | |
| tree | 94e09e060a64396723f1484363c69ec524141e72 /include/linux | |
| parent | 451d39e8006111c4449830e01ec460024bf58817 (diff) | |
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 <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions