qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel]question:arm's mutli-core emulator


From: Scott Tsai
Subject: Re: [Qemu-devel]question:arm's mutli-core emulator
Date: Sat, 7 Nov 2009 20:22:00 +0800

2009/11/7 m9807418 <address@hidden>:
> 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;
    }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]