diff options
| author | Oliver Upton <oupton@google.com> | 2022-07-20 09:22:49 +0000 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-08-10 15:08:27 -0400 |
| commit | 20020f4cf2f92115c34b7bbaea02fcc810709a7e (patch) | |
| tree | 6dce7aba27c5e28407d732d685c909505f6672d5 /drivers/usb/cdns3/cdnsp-mem.c | |
| parent | 58fc116645c53db117c8e6c7b549b228e24a6c73 (diff) | |
KVM: Get an fd before creating the VM
Allocate a VM's fd at the very beginning of kvm_dev_ioctl_create_vm() so
that KVM can use the fd value to generate strigns, e.g. for debugfs,
when creating and initializing the VM.
Signed-off-by: Oliver Upton <oupton@google.com>
Message-Id: <20220720092259.3491733-4-oliver.upton@linux.dev>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/usb/cdns3/cdnsp-mem.c')
0 files changed, 0 insertions, 0 deletions
