You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parent:#836 (#833). Needs: stage 1 (#834), and #801 (#796) in NVX's OpenVMM pin. Removes: one template per CPU count.
Goal. One template serves every supported CPU count from its boot-online count B up to its capacity C.
Today, after stage 1: templates boot with all C CPUs online (B = C), and clones get no CPU target. OpenVMM can bring a CPU prefix online at restore (maxcpus=B at capture, then --restore-processors N), but its platform allowlist refuses maxcpus= until #801.
Implementation:
Host: the host library captures with maxcpus=B, where the adapter picks B, the smallest count that the template's clones use: 1 if one template serves every count. It renders --restore-processors N for B <= N <= C, each in {1, 2, 4, 8}. create and refresh select B and C, and both stay in the key.
Authentication timer: no NVX change. The host keeps connecting after the restore-ready event.
Tests, in the test adapter's CI hook on KVM, MSHV and WHP:
one template restored at each supported count from B to C;
unsupported and out-of-range counts, refused before launch.
Guide (#591's numbering): 2.1.1 (the maxcpus= token), 5.5.3 (processor activation), 5.5.7 (repair onlines the CPU prefix). The interim rule leaves the guide.
Done when: merged, with the interim rule's tests replaced by these.
Activity
nvx-rs: serve clones of each processor count from one template
nvx-rs: serve clones of each processor count from one template
nvx-rs: serve clones of each processor count from one template