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:
parent
2b429ee84c
commit
c4f8af2665
|
@ -44,6 +44,7 @@ if {[have_include "power_on/qemu"]} {
|
||||||
if {[have_spec pistachio]} { set want_cpus 1 }
|
if {[have_spec pistachio]} { set want_cpus 1 }
|
||||||
if {[have_spec fiasco]} { 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_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 "
|
append qemu_args " -nographic -m 64 -smp $want_cpus,cores=$want_cpus "
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user