aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2022-11-30 23:08:45 +0000
committerPaolo Bonzini <[email protected]>2022-12-29 15:40:42 -0500
commit2b01281273738bf2d6551da48d65db2df3f28998 (patch)
tree6ee703c204f8bccf0e53400215076754921d72ff /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentfc471e831016c1741f3e8042997969ace0b5a013 (diff)
KVM: Register /dev/kvm as the _very_ last thing during initialization
Register /dev/kvm, i.e. expose KVM to userspace, only after all other setup has completed. Once /dev/kvm is exposed, userspace can start invoking KVM ioctls, creating VMs, etc... If userspace creates a VM before KVM is done with its configuration, bad things may happen, e.g. KVM will fail to properly migrate vCPU state if a VM is created before KVM has registered preemption notifiers. Cc: [email protected] Signed-off-by: Sean Christopherson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions