summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-09 07:33:36 +0200
committerChristian Breunig <christian@breunig.cc>2023-09-09 07:33:57 +0200
commitf9164ac830cf18254b211bf4ec46bd6d25fd457b (patch)
tree0e6a96b73db3e3aac06e3f1164a4401da75da1b6 /scripts
parent6a6dac6d320ef3a59e3bc442dbd6b3139a7c5e2a (diff)
downloadvyos-build-f9164ac830cf18254b211bf4ec46bd6d25fd457b.tar.gz
vyos-build-f9164ac830cf18254b211bf4ec46bd6d25fd457b.zip
Testsuite: fix qemu SMP configuration
(cherry picked from commit a863fe0b03cd2eb062eb97c5e47992b4e8e999c6)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-qemu-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install
index 7aedd1a1..5cfb831e 100755
--- a/scripts/check-qemu-install
+++ b/scripts/check-qemu-install
@@ -143,7 +143,7 @@ def get_qemu_cmd(name, enable_kvm, enable_uefi, disk_img, raid=None, iso_img=Non
macbase = '52:54:00:00:00'
cmd = f'qemu-system-x86_64 \
-name "{name}" \
- -smp sockets=1,cpus={cpucount},cores=1 \
+ -smp {cpucount} sockets=1,cores={cpucount},threads=1 \
-cpu host \
{uefi} \
-m 3G \