summaryrefslogtreecommitdiff
path: root/scripts/check-qemu-install
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:44 +0200
commita863fe0b03cd2eb062eb97c5e47992b4e8e999c6 (patch)
treed6d9ad5e06f30d672c5bc8a919048851a9db1206 /scripts/check-qemu-install
parentb0c50e6646ba097b59c738d368886d3b1fda0935 (diff)
downloadvyos-build-a863fe0b03cd2eb062eb97c5e47992b4e8e999c6.tar.gz
vyos-build-a863fe0b03cd2eb062eb97c5e47992b4e8e999c6.zip
Testsuite: fix qemu SMP configuration
Diffstat (limited to 'scripts/check-qemu-install')
-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 \