aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2020-03-21 13:25:56 -0700
committerPaolo Bonzini <[email protected]>2020-03-31 10:48:04 -0400
commitd008dfdb0e7012ddff5bd6c0d2abd3b8ec6e77f5 (patch)
tree21faf8b63533f358f339c92b252de394dbf12970 /scripts/gcc-plugins/randomize_layout_plugin.c
parentb990408537388e9174b642ad36cdef6c47c64d3a (diff)
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 <[email protected]> Message-Id: <[email protected]> Reviewed-by: Vitaly Kuznetsov <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions