summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorApachez <apachez@gmail.com>2023-09-09 12:24:55 +0200
committerChristian Breunig <christian@breunig.cc>2023-09-10 13:22:30 +0200
commita9383c0b07ded3eef82bc8b3d9329ec0eaae4f7d (patch)
tree69adceabb28c3c6343d30515730ecfd34e40e94d
parent73523f80415cde85a542a228bb01e225d297f5e3 (diff)
downloadvyos-build-a9383c0b07ded3eef82bc8b3d9329ec0eaae4f7d.tar.gz
vyos-build-a9383c0b07ded3eef82bc8b3d9329ec0eaae4f7d.zip
T5562: Fix -smp syntax for qemu-system-x86_64
(cherry picked from commit fa1462aa6dfb3ca51fcc86bdbfb259cc3fe65981)
-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 5cfb831e..fabe8fbb 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 {cpucount} sockets=1,cores={cpucount},threads=1 \
+ -smp {cpucount},sockets=1,cores={cpucount},threads=1 \
-cpu host \
{uefi} \
-m 3G \