Page MenuHomeFreeBSD

vmm: Move common accessors and vm_eventinfo into sys/dev/vmm
ClosedPublic

Authored by markj on Nov 4 2025, 4:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 9, 3:43 PM
Unknown Object (File)
Fri, Jan 9, 10:42 AM
Unknown Object (File)
Dec 1 2025, 12:12 AM
Unknown Object (File)
Nov 30 2025, 1:41 PM
Unknown Object (File)
Nov 27 2025, 11:26 PM
Unknown Object (File)
Nov 18 2025, 11:08 AM
Unknown Object (File)
Nov 17 2025, 5:51 PM
Unknown Object (File)
Nov 16 2025, 5:37 PM

Details

Summary

Now that struct vm and struct vcpu are defined in headers, provide
inline accessors. We could just remove the accessors outright, but they
don't hurt and it would result in unneeded churn.

As a part of this, consolidate definitions related to struct
vm_eventinfo as well. I'm not sure if struct vm_eventinfo is really
needed now that vmmops_run implementations can directly access vm and
vcpu fields.

No functional change intended.

Diff Detail

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

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Thu, Jan 8, 9:58 PM
This revision was automatically updated to reflect the committed changes.