From: "Andreas Färber" <afaerber@suse.de>
To: Richard Henderson <rth@twiddle.net>
Cc: qemu-devel@nongnu.org, Eduardo Habkost <ehabkost@redhat.com>
Subject: Re: [Qemu-devel] [PATCH qom-cpu v2 4/5] target-alpha: Turn CPU definitions into subclasses
Date: Wed, 19 Dec 2012 00:00:09 +0100 [thread overview]
Message-ID: <50D0F579.6060106@suse.de> (raw)
In-Reply-To: <1355017216-22962-5-git-send-email-afaerber@suse.de>
Am 09.12.2012 02:40, schrieb Andreas Färber:
> Make TYPE_ALPHA_CPU abstract and add types <name>-alpha-cpu.
> Use type inheritence, and turn "2*" models into aliases.
>
> Move cpu_alpha_init() to cpu.c and split out CPU realization.
> Default to creating type "ev67-alpha-cpu" as before.
>
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> Cc: Eduardo Habkost <ehabkost@redhat.com>
> ---
> target-alpha/cpu.c | 178 +++++++++++++++++++++++++++++++++++++++++++++-
> target-alpha/cpu.h | 2 +
> target-alpha/translate.c | 58 +--------------
> 3 Dateien geändert, 180 Zeilen hinzugefügt(+), 58 Zeilen entfernt(-)
>
> diff --git a/target-alpha/cpu.c b/target-alpha/cpu.c
> index 11a19eb..11df753 100644
> --- a/target-alpha/cpu.c
> +++ b/target-alpha/cpu.c
> @@ -21,8 +21,175 @@
>
> #include "cpu.h"
> #include "qemu-common.h"
> +#include "error.h"
>
>
> +static void alpha_cpu_realize(Object *obj, Error **err)
Should've been errp by convention, fixed.
No functional change since unused.
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
next prev parent reply other threads:[~2012-12-18 23:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-09 1:40 [Qemu-devel] [PATCH qom-cpu v2 0/5] target-alpha: CPU subclasses Andreas Färber
2012-12-09 1:40 ` [Qemu-devel] [FYI qom-cpu v2 1/5] target-alpha: Let cpu_alpha_init() return AlphaCPU Andreas Färber
2012-12-09 1:40 ` [Qemu-devel] [FYI qom-cpu v2 2/5] alpha: Pass AlphaCPU array to Typhoon Andreas Färber
2012-12-09 1:40 ` [Qemu-devel] [FYI qom-cpu v2 3/5] target-alpha: Avoid leaking the alarm timer over reset Andreas Färber
2012-12-09 1:40 ` [Qemu-devel] [PATCH qom-cpu v2 4/5] target-alpha: Turn CPU definitions into subclasses Andreas Färber
2012-12-18 23:00 ` Andreas Färber [this message]
2012-12-09 1:40 ` [Qemu-devel] [PATCH qom-cpu v2 5/5] target-alpha: Add support for -cpu ? Andreas Färber
2012-12-10 17:18 ` [Qemu-devel] [PATCH qom-cpu v2 0/5] target-alpha: CPU subclasses Richard Henderson
2012-12-14 14:03 ` Andreas Färber
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=50D0F579.6060106@suse.de \
--to=afaerber@suse.de \
--cc=ehabkost@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.