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
F169169624: D53586.id.diff
Mon, Aug 31, 4:26 PM
F169169343: D53586.id165838.diff
Mon, Aug 31, 4:24 PM
F169045834: D53586.diff
Mon, Aug 31, 5:49 AM
Unknown Object (File)
Sat, Aug 29, 2:41 PM
Unknown Object (File)
Sat, Aug 29, 5:53 AM
Unknown Object (File)
Thu, Aug 27, 2:34 PM
Unknown Object (File)
Thu, Aug 27, 5:47 AM
Unknown Object (File)
Tue, Aug 25, 1:06 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