Page MenuHomeFreeBSD

vmm: Add credential to /dev/vmm.io cdev
AcceptedPublic

Authored by cyril_freebsdfoundation.org on Aug 19 2021, 8:06 PM.
Tags
None
Referenced Files
F102764313: D31615.diff
Sat, Nov 16, 8:48 PM
Unknown Object (File)
Thu, Oct 24, 1:26 AM
Unknown Object (File)
Oct 11 2024, 5:23 AM
Unknown Object (File)
Oct 5 2024, 11:36 AM
Unknown Object (File)
Oct 5 2024, 4:48 AM
Unknown Object (File)
Oct 5 2024, 4:07 AM
Unknown Object (File)
Oct 2 2024, 7:13 PM
Unknown Object (File)
Sep 30 2024, 10:03 PM
Subscribers

Details

Reviewers
markj
Group Reviewers
bhyve
Summary

The commit a85404906bc8 added a credential for the /dev/vmm cdev but not for /dev/vmm.io. This revision adds the missing credential.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sys/amd64/vmm/vmm_dev.c
1231

I think it'd be a bit nicer to change devmem_create_cdev() to pass the vmmdev_softc in directly. This function is static, so its usage is confined to this file and there's no real reason to avoid modifying its signature if it makes the code simpler.

This revision is now accepted and ready to land.Aug 20 2021, 7:39 PM