HomeFreeBSD

vmm: Remove the per-vm cookie argument from vmmops taking a vcpu.

Description

vmm: Remove the per-vm cookie argument from vmmops taking a vcpu.

This requires storing a reference to the per-vm cookie in the
CPU-specific vCPU structure. Take advantage of this new field to
remove no-longer-needed function arguments in the CPU-specific
backends. In particular, stop passing the per-vm cookie to functions
that either don't use it or only use it for KTR traces.

Reviewed by: corvink, markj
Differential Revision: https://reviews.freebsd.org/D37152

(cherry picked from commit 869c8d1946eb4feb8ad651abdf87af0e5c0111b4)

Details

Provenance
jhbAuthored on Nov 18 2022, 6:00 PM
Reviewer
corvink
Differential Revision
D37152: vmm: Remove the per-vm cookie argument from vmmops taking a vcpu.
Parents
rG6fc2d2dbe235: vmm: Refactor storage of CPU-dependent per-vCPU data.
Branches
Unknown
Tags
Unknown