qemu: set smp flag to CPU core count (!1751)
The default is single core. Modern PCs have many cores so use them.
This commit is contained in:
parent
a3b826b090
commit
ff4c35a025
|
@ -177,6 +177,8 @@ def command_qemu(args, arch, device, img_path, spice_enabled):
|
|||
else:
|
||||
raise RuntimeError("Architecture {} not supported by this command yet.".format(arch))
|
||||
|
||||
command += ["-smp", str(os.cpu_count())]
|
||||
|
||||
# Kernel Virtual Machine (KVM) support
|
||||
native = True
|
||||
if args.arch:
|
||||
|
|
Loading…
Reference in New Issue