From: Scott Tsai <scottt.tw@gmail.com>
To: m9807418@mail.ntust.edu.tw
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel]question:arm's mutli-core emulator
Date: Sat, 7 Nov 2009 20:22:00 +0800 [thread overview]
Message-ID: <ef2f888d0911070422m2699a002yb978dc0b41787d7a@mail.gmail.com> (raw)
In-Reply-To: <1257578673.18728.m9807418@mail.ntust.edu.tw>
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;
}
next prev parent reply other threads:[~2009-11-07 12:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-07 7:24 [Qemu-devel]question:arm's mutli-core emulator m9807418
2009-11-07 12:22 ` Scott Tsai [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-11-08 4:50 m9807418
2009-11-09 14:35 m9807418
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=ef2f888d0911070422m2699a002yb978dc0b41787d7a@mail.gmail.com \
--to=scottt.tw@gmail.com \
--cc=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).