HomeFreeBSD

vmm: Use vm_get_maxcpus() instead of VM_MAXCPU in various places.

Description

vmm: Use vm_get_maxcpus() instead of VM_MAXCPU in various places.

Mostly these are loops that iterate over all possible vCPU IDs for a
specific virtual machine.

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

Details

Provenance
jhbAuthored on Nov 18 2022, 5:57 PM
Reviewer
corvink
Differential Revision
D37147: vmm: Use vm_get_maxcpus() instead of VM_MAXCPU in various places.
Parents
rGa7db532e3a6f: vmm: Simplify saving of absolute TSC values in snapshots.
Branches
Unknown
Tags
Unknown