hw_zynq: limit cpu count to 1 in mp_server.run

qemu says:

Number of SMP cpus requested (2), exceeds max cpus supported by machine `xilinx-zynq-a9' (1)
This commit is contained in:
Alexander Boettcher 2015-10-12 10:53:58 +02:00 committed by Christian Helmuth
parent 2b429ee84c
commit c4f8af2665

View File

@ -44,6 +44,7 @@ if {[have_include "power_on/qemu"]} {
if {[have_spec pistachio]} { set want_cpus 1 }
if {[have_spec fiasco]} { set want_cpus 1 }
if {[have_spec hw_x86_64]} { set want_cpus 1 }
if {[have_spec hw_zynq]} { set want_cpus 1 }
append qemu_args " -nographic -m 64 -smp $want_cpus,cores=$want_cpus "
}