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
Unknown Object (File)
Mar 9 2025, 4:24 PM
Unknown Object (File)
Mar 4 2025, 6:50 PM
Unknown Object (File)
Mar 4 2025, 5:33 PM
Unknown Object (File)
Mar 2 2025, 2:32 AM
Unknown Object (File)
Feb 25 2025, 9:28 PM
Unknown Object (File)
Feb 23 2025, 12:27 PM
Unknown Object (File)
Feb 16 2025, 6:11 PM
Unknown Object (File)
Jan 28 2025, 5:33 AM
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