diff options
author | Oliver Upton <[email protected]> | 2022-07-20 09:22:50 +0000 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2022-08-10 15:08:28 -0400 |
commit | 59f82aad5940ffd0fedfe07ff755168722193d56 (patch) | |
tree | 860c5b87f50397ee11a48dc9218cee342bd8b493 /lib/mpi/mpi-cmp.c | |
parent | 20020f4cf2f92115c34b7bbaea02fcc810709a7e (diff) |
KVM: Pass the name of the VM fd to kvm_create_vm_debugfs()
At the time the VM fd is used in kvm_create_vm_debugfs(), the fd has
been allocated but not yet installed. It is only really useful as an
identifier in strings for the VM (such as debugfs).
Treat it exactly as such by passing the string name of the fd to
kvm_create_vm_debugfs(), futureproofing against possible misuse of the
VM fd.
Suggested-by: Sean Christopherson <[email protected]>
Signed-off-by: Oliver Upton <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions