From: "m9807418" <m9807418@mail.ntust.edu.tw>
To: qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel]question:arm's mutli-core emulator
Date: Mon, 09 Nov 2009 22:35:34 +0800 (CST) [thread overview]
Message-ID: <1257777334.23404.m9807418@mail.ntust.edu.tw> (raw)
> 2009/11/7 m9807418 <m9807418@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;
> }
>
////////////////////////////////////////////////////////////////////
Scott tsai's answer whether i must use arm11mpcore cpu,i just can emulator 4 cpus.
Can i change the number and get the number i want?
And Versatilepb.c i use the same way like Realview.c.
Qemu shell can find 2 cpus,but the OS can't install.
I am fail.
Now i have another question.
1.Arm's multi-core emulator whether can use arm Versatile?
If it can, i must do what?
2.If can not use arm Versatile,can talk me which can be emulator multi-core except arm RealView.
Sorry.I don't know how to do use qemu emulator RealView
and where to download theRealView's kernel and initrd file?
Anyone have some step to emulator arm Realview.
like http://www.aurel32.net/info/debian_arm_qemu.php
anybody can help me
thank
qun yi
next reply other threads:[~2009-11-09 14:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-09 14:35 m9807418 [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-11-08 4:50 [Qemu-devel]question:arm's mutli-core emulator m9807418
2009-11-07 7:24 m9807418
2009-11-07 12:22 ` Scott Tsai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1257777334.23404.m9807418@mail.ntust.edu.tw \
--to=m9807418@mail.ntust.edu.tw \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).