test: try to determine QEMU_SMP dynamically
If the QEMU_SMP value has not been explicitly set, try to determine it
from the number of online CPUs using the nproc utility. If this approach
fails, fall back to the default value QEMU_SMP=1.
This change should significantly help when running integration tests
under QEMU on multicore systems.
(cherry picked from commit 5bfb2a93a4a36bba0d24199553dcda6e560cbb75)
Related: #1823767
patch_name: 0368-test-try-to-determine-QEMU_SMP-dynamically.patch
present_in_specfile: true
location_in_specfile: 368
squash_commits: true