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
F157906959: D53586.diff
Tue, May 26, 9:09 AM
Unknown Object (File)
Fri, May 22, 8:41 PM
Unknown Object (File)
Thu, May 21, 10:08 PM
Unknown Object (File)
Wed, May 13, 6:53 PM
Unknown Object (File)
Wed, May 13, 6:52 PM
Unknown Object (File)
Wed, May 13, 6:51 PM
Unknown Object (File)
Sun, May 3, 5:50 PM
Unknown Object (File)
Tue, Apr 28, 2:58 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 68417
Build 65300: arc lint + arc unit