diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-03-21 23:25:56 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-31 17:48:04 +0300 |
commit | d008dfdb0e7012ddff5bd6c0d2abd3b8ec6e77f5 (patch) | |
tree | 21faf8b63533f358f339c92b252de394dbf12970 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b990408537388e9174b642ad36cdef6c47c64d3a (diff) | |
download | linux-d008dfdb0e7012ddff5bd6c0d2abd3b8ec6e77f5.tar.xz |
KVM: x86: Move init-only kvm_x86_ops to separate struct
Move the kvm_x86_ops functions that are used only within the scope of
kvm_init() into a separate struct, kvm_x86_init_ops. In addition to
identifying the init-only functions without restorting to code comments,
this also sets the stage for waiting until after ->hardware_setup() to
set kvm_x86_ops. Setting kvm_x86_ops after ->hardware_setup() is
desirable as many of the hooks are not usable until ->hardware_setup()
completes.
No functional change intended.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200321202603.19355-3-sean.j.christopherson@intel.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions