diff options
| author | Sean Christopherson <[email protected]> | 2022-11-30 23:08:45 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-12-29 15:40:42 -0500 |
| commit | 2b01281273738bf2d6551da48d65db2df3f28998 (patch) | |
| tree | 6ee703c204f8bccf0e53400215076754921d72ff /scripts/stackusage | |
| parent | fc471e831016c1741f3e8042997969ace0b5a013 (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 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions