From: "Andreas Färber" <afaerber@suse.de>
To: qemu-devel@nongnu.org
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Eduardo Habkost" <ehabkost@redhat.com>,
"Alexander Graf" <agraf@suse.de>, qemu-ppc <qemu-ppc@nongnu.org>,
"Igor Mammedov" <imammedo@redhat.com>,
"David Gibson" <david@gibson.dropbear.id.au>,
"Andreas Färber" <afaerber@suse.de>,
"Richard Henderson" <rth@twiddle.net>
Subject: [Qemu-devel] [PATCH qom-cpu 0/4] CPU cleanup and PPC subclasses
Date: Tue, 18 Dec 2012 08:53:39 +0100 [thread overview]
Message-ID: <1355817223-13076-1-git-send-email-afaerber@suse.de> (raw)
Hello,
This series starts with unifying the various structs for -cpu ? implementation.
I'm guessing the second patch will be necessary for CPU-as-a-device,
but it breaks the paradigm of having only typedefs in qemu-types.h.
Based on that, by demand from David, here's a quick and dirty introduction of
CPU subclasses as proposed some time ago. It's been redone, so no change log.
My proposal is to leave ppc_def_t in place for now, adding a pointer to it in
the CPU class for instance_init and for David.
Plus, it seems that my "POWER5+ (gs)" CPU is #ifdef TODO'ed out, so lacking
an immediate fix how to fall back to another CPU model I'm proposing an error.
The series is based on the current qom-cpu queue and will need to be slightly
rebased when I apply the KVM CPUState series.
Regards,
Andreas
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Alexander Graf <agraf@suse.de>
Cc: qemu-ppc <qemu-ppc@nongnu.org>
Cc: David Gibson <david@gibson.dropbear.id.au>
Andreas Färber (4):
cpu: Introduce CPUListState struct
qemu-common.h: Move fprintf_function to qemu-types.h
target-ppc: Slim conversion of model definitions to QOM subclasses
target-ppc: Error out for -cpu host on unknown PVR
include/qemu/cpu.h | 12 ++
qemu-common.h | 5 -
qemu-types.h | 6 +
target-alpha/cpu.c | 9 +-
target-arm/helper.c | 9 +-
target-m68k/helper.c | 9 +-
target-ppc/Makefile.objs | 3 +-
target-ppc/cpu-qom.h | 5 +
target-ppc/cpu.h | 4 -
target-ppc/helper.c | 50 -------
target-ppc/kvm.c | 44 +++++-
target-ppc/kvm_ppc.h | 8 +-
target-ppc/translate_init.c | 344 +++++++++++++++++++++++++++++--------------
13 Dateien geändert, 306 Zeilen hinzugefügt(+), 202 Zeilen entfernt(-)
delete mode 100644 target-ppc/helper.c
--
1.7.10.4
next reply other threads:[~2012-12-18 7:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-18 7:53 Andreas Färber [this message]
2012-12-18 7:53 ` [Qemu-devel] [PATCH qom-cpu 1/4] cpu: Introduce CPUListState struct Andreas Färber
2012-12-18 15:59 ` Igor Mammedov
2012-12-18 18:44 ` Andreas Färber
2012-12-18 17:42 ` Eduardo Habkost
2012-12-18 20:00 ` Andreas Färber
2012-12-18 7:53 ` [Qemu-devel] [PATCH RFC qom-cpu 2/4] qemu-common.h: Move fprintf_function to qemu-types.h Andreas Färber
2012-12-18 17:25 ` Eduardo Habkost
2012-12-18 7:53 ` [Qemu-devel] [PATCH qom-cpu 3/4] target-ppc: Slim conversion of model definitions to QOM subclasses Andreas Färber
2012-12-18 18:15 ` Eduardo Habkost
2012-12-19 2:46 ` Andreas Färber
2012-12-18 7:53 ` [Qemu-devel] [PATCH qom-cpu 4/4] target-ppc: Error out for -cpu host on unknown PVR Andreas Färber
2013-01-03 12:26 ` Alexander Graf
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=1355817223-13076-1-git-send-email-afaerber@suse.de \
--to=afaerber@suse.de \
--cc=agraf@suse.de \
--cc=david@gibson.dropbear.id.au \
--cc=ehabkost@redhat.com \
--cc=imammedo@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@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 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).