diff options
author | Sean Christopherson <seanjc@google.com> | 2022-12-01 02:08:45 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-12-29 23:40:42 +0300 |
commit | 2b01281273738bf2d6551da48d65db2df3f28998 (patch) | |
tree | 6ee703c204f8bccf0e53400215076754921d72ff /tools/perf/scripts/python/stackcollapse.py | |
parent | fc471e831016c1741f3e8042997969ace0b5a013 (diff) | |
download | linux-2b01281273738bf2d6551da48d65db2df3f28998.tar.xz |
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: stable@vger.kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20221130230934.1014142-2-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