Page MenuHomeFreeBSD

vmm: Move common accessors and vm_eventinfo into sys/dev/vmm
Needs ReviewPublic

Authored by markj on Tue, Nov 4, 4:40 PM.
Tags
None
Referenced Files
F134889114: D53586.id.diff
Wed, Nov 5, 1:23 AM
F134888500: D53586.id.diff
Wed, Nov 5, 1:19 AM
F134887905: D53586.diff
Wed, Nov 5, 1:16 AM
F134801589: D53586.id.diff
Tue, Nov 4, 5:05 PM
F134801312: D53586.id.diff
Tue, Nov 4, 5:03 PM
F134801262: D53586.id165838.diff
Tue, Nov 4, 5:03 PM
F134801243: D53586.diff
Tue, Nov 4, 5:03 PM
F134801238: D53586.id165838.diff
Tue, Nov 4, 5:03 PM

Details

Reviewers
andrew
manu
Group Reviewers
bhyve
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