The sole caller of this function already holds a pointer to the VM's
softc, so rather than passing the VM name and looking it up again, just
pass the softc pointer directly. This function is only called from an
ioctl context, so the softc structure will remain live.
Details
Details
- Reviewers
corvink jhb - Group Reviewers
bhyve - Commits
- rGf4002135a2be: vmm: Remove an unneeded lookup in devmem_create_cdev()
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable