Page MenuHomeFreeBSD

vmm: Factor most of sysctl_vmm_create() out into a separate function
ClosedPublic

Authored by markj on Aug 27 2024, 12:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 30 2024, 4:08 AM
Unknown Object (File)
Oct 30 2024, 4:08 AM
Unknown Object (File)
Oct 22 2024, 1:26 PM
Unknown Object (File)
Oct 22 2024, 1:26 PM
Unknown Object (File)
Oct 21 2024, 12:13 AM
Unknown Object (File)
Oct 19 2024, 1:11 PM
Unknown Object (File)
Oct 19 2024, 1:08 PM
Unknown Object (File)
Oct 19 2024, 1:08 PM
Subscribers

Details

Summary

This will make it easy to share code with an ioctl handler which creates
VMs. No functional change intended.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Aug 28 2024, 6:38 AM
jhb added a subscriber: jhb.
jhb added inline comments.
sys/dev/vmm/vmm_dev.c
888

Should we convert this to use make_dev_s in a followup to close the race with setting si_drv1?

sys/dev/vmm/vmm_dev.c
888

Yes, that's a good idea.