qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: qemu-devel@nongnu.org
Cc: "Blue Swirl" <blauwirbel@gmail.com>, "Andreas Färber" <afaerber@suse.de>
Subject: [Qemu-devel] [PATCH v2 0/2] QOM'ify SPARC CPU
Date: Thu,  5 Apr 2012 01:29:38 +0200	[thread overview]
Message-ID: <1333582180-9380-1-git-send-email-afaerber@suse.de> (raw)

Hello Blue,

This series strips down my SPARC QOM'ification patch from the qom-cpu-others.v1
RFC series to the bare minimum needed and splits off the file rename.

Subclasses and properties can follow up later, specific to target-sparc then.

I've picked up your idea of using different type names for 32-bit and 64-bit
targets respectively.

Please apply if you're satisfied, there's no dependency on the x86 series.

Available from:
git://github.com/afaerber/qemu-cpu.git qom-cpu-sparc.v2
https://github.com/afaerber/qemu-cpu/commits/qom-cpu-sparc.v2

Regards,
Andreas

Cc: Blue Swirl <blauwirbel@gmail.com>

v1 -> v2:
* Split off from qom-cpu-others series.
* Rebased onto qemu.git, no longer depends on other targets wrt Makefile.target.
* Split out file rename into its own patch (and enforce git rename detection).
* Update argument/variable naming to avoid "klass" and to use ..._type_info.
* Drop subclasses for now, thus leave TYPE_SPARC_CPU non-abstract and add finalizer.
* Rename TYPE_SPARC_CPU to "sparc64-cpu" for TARGET_SPARC64, suggested by Blue.

Andreas Färber (2):
  target-sparc: Rename cpu_init.c
  target-sparc: QOM'ify CPU

 Makefile.target                    |    2 +-
 target-sparc/cpu-qom.h             |   75 ++++++++++++++++++++++++++++++++++++
 target-sparc/{cpu_init.c => cpu.c} |   68 ++++++++++++++++++++++++++++----
 target-sparc/cpu.h                 |    1 +
 4 files changed, 136 insertions(+), 10 deletions(-)
 create mode 100644 target-sparc/cpu-qom.h
 rename target-sparc/{cpu_init.c => cpu.c} (95%)

-- 
1.7.7

             reply	other threads:[~2012-04-04 23:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-04 23:29 Andreas Färber [this message]
2012-04-04 23:29 ` [Qemu-devel] [PATCH v2 1/2] target-sparc: Rename cpu_init.c Andreas Färber
2012-04-04 23:29 ` [Qemu-devel] [PATCH v2 2/2] target-sparc: QOM'ify CPU 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=1333582180-9380-1-git-send-email-afaerber@suse.de \
    --to=afaerber@suse.de \
    --cc=blauwirbel@gmail.com \
    --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).