mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
Simplify and improve the code so that the PID is always available in
the uevent even when debugfs is not available.
This adds a userspace_pid field to struct kvm, as per Radim's
suggestion, so that the PID can be retrieved on destruction too.
Acked-by: Janosch Frank <[email protected]>
Fixes: 286de8f6ac ("KVM: trigger uevents when creating or destroying a VM")
Signed-off-by: Claudio Imbrenda <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>