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)
Sun, Sep 20, 4:50 AM
Unknown Object (File)
Fri, Sep 18, 8:11 PM
Unknown Object (File)
Fri, Sep 18, 8:07 PM
Unknown Object (File)
Fri, Sep 18, 6:17 PM
Unknown Object (File)
Fri, Sep 11, 2:49 AM
Unknown Object (File)
Fri, Sep 11, 1:55 AM
Unknown Object (File)
Thu, Sep 10, 11:15 PM
Unknown Object (File)
Tue, Sep 8, 12:23 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