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)
Sat, Apr 11, 8:22 PM
Unknown Object (File)
Sat, Apr 11, 2:18 PM
Unknown Object (File)
Thu, Apr 9, 4:50 PM
Unknown Object (File)
Wed, Apr 8, 8:26 PM
Unknown Object (File)
Tue, Apr 7, 10:02 AM
Unknown Object (File)
Sun, Apr 5, 5:00 PM
Unknown Object (File)
Sun, Mar 22, 1:10 PM
Unknown Object (File)
Sun, Mar 22, 8:24 AM

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