2009/11/7 m9807418 <m9807...@mail.ntust.edu.tw>: > When I used qemu-system-arm and the -smp option. > I key -smp 2. > It have a message ""Number of SMP cpus requested (2), exceeds max cpus > supported by machine `Versatile' (1) " > which files of the qemu source code can i change? > And the change can let me emulator arm's multi-core.
1. Your question has nothing to do with the development of qemu, so don't be surprised when you don't get too many responses. 2. See qemu/hw/realview.c if (!cpu_model) cpu_model = "arm926"; /* FIXME: obey smp_cpus. */ if (strcmp(cpu_model, "arm11mpcore") == 0) { ncpu = 4; } else { ncpu = 1; }