qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v3 0/4] QOM'ify Power Architecture CPU


From: Andreas Färber
Subject: [Qemu-devel] [PATCH v3 0/4] QOM'ify Power Architecture CPU
Date: Sat, 14 Apr 2012 02:14:08 +0200

Hello David,

This series merges my PowerPC QOM'ification v2 series with your
TCG/KVM limitations patch. The finalizer is dropped for now, and
cpu_ppc_close() drop has already been applied.

If I don't hear objections I'm going to apply this modified version and
will send a PULL for the ppc queue later today.

Available from:
git://github.com/afaerber/qemu-cpu.git qom-cpu-ppc.v3
https://github.com/afaerber/qemu-cpu/commits/qom-cpu-ppc.v3

Regards,
Andreas

v2 -> v3:
* cpu_ppc_close() patch was applied to ppc-next already.
* Include colliding patch by David with following changes:
  * Fix coding style in moved code.
  * Fix typo in moved code.
  * Rename kvm_fixup_ppc_env -> kvmppc_fixup_cpu, drop ppc_def_t argument.
  * Rename tcg_fixup_ppc_env ->    ppc_fixup_cpu, drop ppc_def_t argument.
  * Fix typo in fprintf(), capitalize CPU in fprintf()s.
  Based on the assumption that these will get a PowerPCCPU argument in a
  follow-up series, ppc_def_t in the initfn context will be replaced with
  PowerPCCPUClass and not seeing patches that extend the fixup functions.
* Rebased onto that, in particular drop cpus.h include and code movement.
* Drop finalizer patch since David wasn't happy with it at this stage.

v1 -> v2:
* Split off from qom-cpu-others series.
* Update argument/variable naming to avoid "klass" and to use ..._type_info.
* Drop subclasses for now, leaving TYPE_POWERPC_CPU non-abstract.
* Rename TYPE_POWERPC_CPU to "powerpc64-cpu" for TARGET_PPC64 and to
  "embedded-powerpc-cpu" for TARGET_PPCEMB, based on a suggestion by Blue.
* Implement finalizer.

Andreas Färber (3):
  target-ppc: QOM'ify CPU
  target-ppc: Start QOM'ifying CPU init
  target-ppc: QOM'ify CPU reset

David Gibson (1):
  target-ppc: Add hooks for handling tcg and kvm limitations

 target-ppc/cpu-qom.h        |   77 +++++++++++++++++++++++
 target-ppc/cpu.h            |    2 +
 target-ppc/helper.c         |   59 ++----------------
 target-ppc/kvm.c            |   14 ++++
 target-ppc/kvm_ppc.h        |    5 ++
 target-ppc/translate.c      |    2 +-
 target-ppc/translate_init.c |  141 ++++++++++++++++++++++++++++++++++++++-----
 7 files changed, 229 insertions(+), 71 deletions(-)
 create mode 100644 target-ppc/cpu-qom.h

-- 
1.7.7




reply via email to

[Prev in Thread] Current Thread [Next in Thread]