From: "J. Mayer" <l_indien@magic.fr>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [patch] CPU architecture selection
Date: Sat, 26 Mar 2005 21:02:20 +0100 [thread overview]
Message-ID: <1111867340.31144.65.camel@rapid> (raw)
In-Reply-To: <200503261946.57675.paul@codesourcery.com>
On Sat, 2005-03-26 at 19:46 +0000, Paul Brook wrote:
> The attached patch adds a -cpu commandline option to qemu to allow the user to
> select what type of CPU is emulated. It currently only does anything useful
> for arm targets, but it should be easy to hook other targets into the same
> mechanism.
>
> I implemented the selection as a bitmask. This allows users to select a CPU by
> the features it provides, and also allows creation of convenient aliases for
> common CPUs.
there is a cpu_ppc_register function in target-ppc/translate.c which
does what's needed for emulated PPC selection.
The CPU is registered from the emulated board definition, ie in
hw/ppc_prep.c or hw/ppc_chrp.c.
Your patch conflicts with this code.
It seems to me that cpu selection should go in board definitions, like
all the rest of emulated hardware selection, then have nothing to do in
target-xxx/translate.c.
--
J. Mayer <l_indien@magic.fr>
Never organized
next prev parent reply other threads:[~2005-03-26 20:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-26 19:46 [Qemu-devel] [patch] CPU architecture selection Paul Brook
2005-03-26 20:02 ` J. Mayer [this message]
2005-03-26 21:16 ` Paul Brook
2005-03-26 21:56 ` J. Mayer
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=1111867340.31144.65.camel@rapid \
--to=l_indien@magic.fr \
--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).