diff options
author | Sean Christopherson <seanjc@google.com> | 2022-12-01 02:08:57 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-12-29 23:41:00 +0300 |
commit | 4f8396b96a9fc672964842fe7adbe8ddca8a3adf (patch) | |
tree | 94e09e060a64396723f1484363c69ec524141e72 /tools/perf/scripts/python/stackcollapse.py | |
parent | 451d39e8006111c4449830e01ec460024bf58817 (diff) | |
download | linux-4f8396b96a9fc672964842fe7adbe8ddca8a3adf.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions