T5562: Fix -smp syntax for qemu-system-x86_64

This commit is contained in:
Apachez 2023-09-09 12:24:55 +02:00
parent a863fe0b03
commit fa1462aa6d

View File

@ -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' macbase = '52:54:00:00:00'
cmd = f'qemu-system-x86_64 \ cmd = f'qemu-system-x86_64 \
-name "{name}" \ -name "{name}" \
-smp {cpucount} sockets=1,cores={cpucount},threads=1 \ -smp {cpucount},sockets=1,cores={cpucount},threads=1 \
-cpu host \ -cpu host \
{uefi} \ {uefi} \
-m 3G \ -m 3G \