libbpf / ci

BPF CI
Other
10 stars 23 forks source link

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

Closed chantra closed 1 year ago

chantra commented 1 year 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 1 year ago

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

chantra commented 1 year 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