libbpf / ci

BPF CI
Other
11 stars 24 forks source link

run-qemu: Allow setting the maximum number of CPU to allocate to qemu #66

Closed chantra closed 2 years ago

chantra commented 2 years ago

On aarch64 and x86_64, qemu will use the number of CPU available on the host. This change allow putting an upper-bound to this value by setting the CPU_MAX env variable. If not specified, the value returned by nproc will be used.

Signed-off-by: Manu Bretelle chantr4@gmail.com

danielocfb commented 2 years ago

Did you want to rebase past and incorporate changes made here?

chantra commented 2 years ago

Did you want to rebase past and incorporate changes made here?

yes, just re-ran with https://github.com/kernel-patches/vmtest/actions/runs/3380415312/jobs/5618034927#step:6:108