The kernel part of the hypervisor is not going to support per-VM
maxcpu limits. The topology is only used to control the values
returned by CPUID leaves for which max vCPUs is not relevant.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Should vm_set_topology() be updated to indicate that maxcpus is unimplemented? I can see why you didn't remove the parameter at least.
Comment Actions
I may actually wait on this. It might still be useful to set the size of the maxcpus array by passing the limit in via a new vmm_create operation.
Comment Actions
I don't care. It's unused code, so we can remove it. If you like to add support to vm_create for maxcpus, you can easily revert this change. OTOH, it's fine to keep it as it is.