Page MenuHomeFreeBSD

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

Authored by jhb on Oct 27 2022, 3:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 8 2024, 4:45 AM
Unknown Object (File)
Oct 8 2024, 4:45 AM
Unknown Object (File)
Oct 8 2024, 4:45 AM
Unknown Object (File)
Oct 8 2024, 4:03 AM
Unknown Object (File)
Sep 28 2024, 1:32 AM
Unknown Object (File)
Sep 24 2024, 7:00 AM
Unknown Object (File)
Sep 24 2024, 6:19 AM
Unknown Object (File)
Sep 23 2024, 6:32 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj added inline comments.
sys/amd64/vmm/intel/vmx.c
1037

I'd just allocate this dynamically, it doesn't seem too painful to do so?

This revision is now accepted and ready to land.Nov 2 2022, 2:21 PM
sys/amd64/vmm/intel/vmx.c
1037

It goes away in later commits in this series.