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

(cherry picked from commit 35abc6c238e98e313c5b1cb5ed18b8ed68615abc)

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
rGa8ffb1a17ce3: vmm: Simplify saving of absolute TSC values in snapshots.
Branches
Unknown
Tags
Unknown