mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-08 11:16:47 +00:00
The Resize tab offered vCPU counts only up to the host's logical CPUs. A VM whose maximum was higher (4 on a 2-CPU host, say) found no option for it, so the Maximum list showed 1, and a resize of the shut-off VM lowered its maximum to that without a word. get_max_cpus() now takes the VM's own maximum as a floor, and the Instance's vcpu_range passes it. The host's CPU count shown on the page and used by the clone form is read from the host alone, not from that range. |
||
|---|---|---|
| .. | ||
| api | ||
| fixtures | ||
| migrations | ||
| templates | ||
| templatetags | ||
| tests | ||
| __init__.py | ||
| addresses.py | ||
| apps.py | ||
| forms.py | ||
| jobs.py | ||
| models.py | ||
| report.py | ||
| states.py | ||
| urls.py | ||
| utils.py | ||
| views.py | ||