mbox

[PULL] QOM CPUState patch queue 2012-12-19

Message ID 1355924196-19288-1-git-send-email-afaerber@suse.de
State New
Headers show

Pull-request

git://github.com/afaerber/qemu-cpu.git qom-cpu

Message

Andreas Färber Dec. 19, 2012, 1:36 p.m. UTC
Hello,

This is my current QOM CPU patch queue. Please pull.

It includes:
* CPU subclasses for target-alpha,
* CPUListState cleanup (basis for all subsequent subclasses series),
* more steps towards CPU as a device (qdev-properties.c split),
* more CPUState field movements and API changes for KVM,
* adding target-i386/cpu.c to supported MAINTAINERS section.

The final CPU-as-a-device change is deferred to January, waiting on merge of
Paolo's header reorganization (esp. -Iinclude/ for stubs).

Happy holidays,
Andreas

Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Marcello Tosatti <mtosatti@redhat.com>
Cc: Alexander Graf <agraf@suse.de>


The following changes since commit 914606d26e654d4c01bd5186f4d05e3fd445e219:

  Merge remote-tracking branch 'stefanha/trivial-patches' into staging (2012-12-18 15:41:43 -0600)

are available in the git repository at:


  git://github.com/afaerber/qemu-cpu.git qom-cpu

for you to fetch changes up to 62e0c095450f6a7eb37914991f3f7966aa4da7a1:

  MAINTAINERS: Include X86CPU in CPU maintenance area (2012-12-19 14:09:32 +0100)

----------------------------------------------------------------
Andreas Färber (18):
      target-alpha: Let cpu_alpha_init() return AlphaCPU
      alpha: Pass AlphaCPU array to Typhoon
      target-alpha: Avoid leaking the alarm timer over reset
      target-alpha: Turn CPU definitions into subclasses
      target-alpha: Add support for -cpu ?
      cpu: Introduce CPUListState struct
      cpu: Move kvm_fd into CPUState
      kvm: Pass CPUState to kvm_arch_*
      kvm: Pass CPUState to kvm_vcpu_ioctl()
      ppc: Pass PowerPCCPU to ppc_set_irq()
      ppc: Pass PowerPCCPU to [h]decr callbacks
      ppc: Pass PowerPCCPU to [h]decr timer callbacks
      ppc_booke: Pass PowerPCCPU to {decr,fit,wdt} timer callbacks
      ppc4xx_devs: Return PowerPCCPU from ppc4xx_init()
      ppc_booke: Pass PowerPCCPU to ppc_booke_timers_init()
      cpu: Move kvm_state field into CPUState
      cpu: Move kvm_run into CPUState
      MAINTAINERS: Include X86CPU in CPU maintenance area

Eduardo Habkost (2):
      qdev: Coding style fixes
      qdev-properties.c: Separate core from the code used only by qemu-system-*

 MAINTAINERS                 |    1 +
 cpu-common.h                |   12 ++
 cpu-defs.h                  |    8 +-
 hw/Makefile.objs            |    1 +
 hw/alpha_dp264.c            |   18 +--
 hw/alpha_sys.h              |    2 +-
 hw/alpha_typhoon.c          |   30 ++--
 hw/kvm/apic.c               |   10 +-
 hw/kvm/clock.c              |    2 +-
 hw/ppc.c                    |  128 +++++++++-------
 hw/ppc.h                    |    4 +-
 hw/ppc/e500.c               |    2 +-
 hw/ppc405_uc.c              |   10 +-
 hw/ppc440_bamboo.c          |    2 +-
 hw/ppc4xx.h                 |    6 +-
 hw/ppc4xx_devs.c            |    8 +-
 hw/ppc_booke.c              |   44 +++---
 hw/qdev-properties-system.c |  357 +++++++++++++++++++++++++++++++++++++++++++
 hw/qdev-properties.c        |  356 +++---------------------------------------
 hw/qdev-properties.h        |    1 +
 hw/qdev.c                   |   13 --
 hw/s390-virtio-bus.c        |   12 +-
 hw/spapr.c                  |    2 +-
 hw/virtex_ml507.c           |    2 +-
 include/qemu/cpu.h          |   11 ++
 kvm-all.c                   |  127 ++++++++-------
 kvm.h                       |   32 ++--
 target-alpha/cpu-qom.h      |    3 +
 target-alpha/cpu.c          |  214 +++++++++++++++++++++++++-
 target-alpha/cpu.h          |   18 ++-
 target-alpha/sys_helper.c   |    6 +-
 target-alpha/translate.c    |   58 +------
 target-arm/helper.c         |    9 +-
 target-i386/cpu.c           |    7 +-
 target-i386/kvm.c           |  240 +++++++++++++++++------------
 target-m68k/helper.c        |    9 +-
 target-ppc/kvm.c            |  124 +++++++++------
 target-ppc/kvm_ppc.h        |    8 +-
 target-s390x/cpu.h          |   12 +-
 target-s390x/interrupt.c    |    3 +-
 target-s390x/kvm.c          |  176 +++++++++++----------
 target-s390x/misc_helper.c  |    2 +-
 42 Dateien geändert, 1223 Zeilen hinzugefügt(+), 867 Zeilen entfernt(-)
 create mode 100644 hw/qdev-properties-system.c

Comments

Blue Swirl Dec. 22, 2012, 12:08 p.m. UTC | #1
On Wed, Dec 19, 2012 at 1:36 PM, Andreas Färber <afaerber@suse.de> wrote:
> Hello,
>
> This is my current QOM CPU patch queue. Please pull.

It conflicts with HEAD, please rebase.

>
> It includes:
> * CPU subclasses for target-alpha,
> * CPUListState cleanup (basis for all subsequent subclasses series),
> * more steps towards CPU as a device (qdev-properties.c split),
> * more CPUState field movements and API changes for KVM,
> * adding target-i386/cpu.c to supported MAINTAINERS section.
>
> The final CPU-as-a-device change is deferred to January, waiting on merge of
> Paolo's header reorganization (esp. -Iinclude/ for stubs).
>
> Happy holidays,
> Andreas
>
> Cc: Eduardo Habkost <ehabkost@redhat.com>
> Cc: Igor Mammedov <imammedo@redhat.com>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Cc: Marcello Tosatti <mtosatti@redhat.com>
> Cc: Alexander Graf <agraf@suse.de>
>
>
> The following changes since commit 914606d26e654d4c01bd5186f4d05e3fd445e219:
>
>   Merge remote-tracking branch 'stefanha/trivial-patches' into staging (2012-12-18 15:41:43 -0600)
>
> are available in the git repository at:
>
>
>   git://github.com/afaerber/qemu-cpu.git qom-cpu
>
> for you to fetch changes up to 62e0c095450f6a7eb37914991f3f7966aa4da7a1:
>
>   MAINTAINERS: Include X86CPU in CPU maintenance area (2012-12-19 14:09:32 +0100)
>
> ----------------------------------------------------------------
> Andreas Färber (18):
>       target-alpha: Let cpu_alpha_init() return AlphaCPU
>       alpha: Pass AlphaCPU array to Typhoon
>       target-alpha: Avoid leaking the alarm timer over reset
>       target-alpha: Turn CPU definitions into subclasses
>       target-alpha: Add support for -cpu ?
>       cpu: Introduce CPUListState struct
>       cpu: Move kvm_fd into CPUState
>       kvm: Pass CPUState to kvm_arch_*
>       kvm: Pass CPUState to kvm_vcpu_ioctl()
>       ppc: Pass PowerPCCPU to ppc_set_irq()
>       ppc: Pass PowerPCCPU to [h]decr callbacks
>       ppc: Pass PowerPCCPU to [h]decr timer callbacks
>       ppc_booke: Pass PowerPCCPU to {decr,fit,wdt} timer callbacks
>       ppc4xx_devs: Return PowerPCCPU from ppc4xx_init()
>       ppc_booke: Pass PowerPCCPU to ppc_booke_timers_init()
>       cpu: Move kvm_state field into CPUState
>       cpu: Move kvm_run into CPUState
>       MAINTAINERS: Include X86CPU in CPU maintenance area
>
> Eduardo Habkost (2):
>       qdev: Coding style fixes
>       qdev-properties.c: Separate core from the code used only by qemu-system-*
>
>  MAINTAINERS                 |    1 +
>  cpu-common.h                |   12 ++
>  cpu-defs.h                  |    8 +-
>  hw/Makefile.objs            |    1 +
>  hw/alpha_dp264.c            |   18 +--
>  hw/alpha_sys.h              |    2 +-
>  hw/alpha_typhoon.c          |   30 ++--
>  hw/kvm/apic.c               |   10 +-
>  hw/kvm/clock.c              |    2 +-
>  hw/ppc.c                    |  128 +++++++++-------
>  hw/ppc.h                    |    4 +-
>  hw/ppc/e500.c               |    2 +-
>  hw/ppc405_uc.c              |   10 +-
>  hw/ppc440_bamboo.c          |    2 +-
>  hw/ppc4xx.h                 |    6 +-
>  hw/ppc4xx_devs.c            |    8 +-
>  hw/ppc_booke.c              |   44 +++---
>  hw/qdev-properties-system.c |  357 +++++++++++++++++++++++++++++++++++++++++++
>  hw/qdev-properties.c        |  356 +++---------------------------------------
>  hw/qdev-properties.h        |    1 +
>  hw/qdev.c                   |   13 --
>  hw/s390-virtio-bus.c        |   12 +-
>  hw/spapr.c                  |    2 +-
>  hw/virtex_ml507.c           |    2 +-
>  include/qemu/cpu.h          |   11 ++
>  kvm-all.c                   |  127 ++++++++-------
>  kvm.h                       |   32 ++--
>  target-alpha/cpu-qom.h      |    3 +
>  target-alpha/cpu.c          |  214 +++++++++++++++++++++++++-
>  target-alpha/cpu.h          |   18 ++-
>  target-alpha/sys_helper.c   |    6 +-
>  target-alpha/translate.c    |   58 +------
>  target-arm/helper.c         |    9 +-
>  target-i386/cpu.c           |    7 +-
>  target-i386/kvm.c           |  240 +++++++++++++++++------------
>  target-m68k/helper.c        |    9 +-
>  target-ppc/kvm.c            |  124 +++++++++------
>  target-ppc/kvm_ppc.h        |    8 +-
>  target-s390x/cpu.h          |   12 +-
>  target-s390x/interrupt.c    |    3 +-
>  target-s390x/kvm.c          |  176 +++++++++++----------
>  target-s390x/misc_helper.c  |    2 +-
>  42 Dateien geändert, 1223 Zeilen hinzugefügt(+), 867 Zeilen entfernt(-)
>  create mode 100644 hw/qdev-properties-system.c
>
Andreas Färber Dec. 23, 2012, midnight UTC | #2
Am 22.12.2012 13:08, schrieb Blue Swirl:
> On Wed, Dec 19, 2012 at 1:36 PM, Andreas Färber <afaerber@suse.de> wrote:
>> Hello,
>>
>> This is my current QOM CPU patch queue. Please pull.
> 
> It conflicts with HEAD, please rebase.

Merged on git://repo.or.cz/qemu/afaerber.git qom-cpu
(501a7ce7270955be151c442c27620fa7af2f3ce5).

Alternatively a corresponding rebased version was already on GitHub
qom-cpu-next branch 4739c43f30a27ab4976e2470f8b2b420237a791f but might
contain patches on top (GitHub currently in maintenance).

Andreas
Blue Swirl Dec. 28, 2012, 8:05 p.m. UTC | #3
Thanks, pulled.

On Sun, Dec 23, 2012 at 12:00 AM, Andreas Färber <afaerber@suse.de> wrote:
> Am 22.12.2012 13:08, schrieb Blue Swirl:
>> On Wed, Dec 19, 2012 at 1:36 PM, Andreas Färber <afaerber@suse.de> wrote:
>>> Hello,
>>>
>>> This is my current QOM CPU patch queue. Please pull.
>>
>> It conflicts with HEAD, please rebase.
>
> Merged on git://repo.or.cz/qemu/afaerber.git qom-cpu
> (501a7ce7270955be151c442c27620fa7af2f3ce5).
>
> Alternatively a corresponding rebased version was already on GitHub
> qom-cpu-next branch 4739c43f30a27ab4976e2470f8b2b420237a791f but might
> contain patches on top (GitHub currently in maintenance).
>
> Andreas
>
> --
> SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg