[Qemu-devel] [PATCH 0/2] Move some machine core code to proper places

Markus Armbruster posted 2 patches 4 years, 9 months ago
Test checkpatch passed
Test s390x passed
Test asan passed
Test docker-mingw@fedora passed
Test FreeBSD passed
Test docker-clang@ubuntu passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190709152053.16670-1-armbru@redhat.com
Maintainers: Palmer Dabbelt <palmer@sifive.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, David Hildenbrand <david@redhat.com>, Artyom Tarasenko <atar4qemu@gmail.com>, Laurent Vivier <laurent@vivier.eu>, Alistair Francis <alistair@alistair23.me>, Max Filippov <jcmvbkbc@gmail.com>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Christian Borntraeger <borntraeger@de.ibm.com>, Stefan Hajnoczi <stefanha@redhat.com>, Halil Pasic <pasic@linux.ibm.com>, Michael Walle <michael@walle.cc>, "Michael S. Tsirkin" <mst@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, Stafford Horne <shorne@gmail.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Jean-Christophe Dubois <jcd@tribudubois.net>, Gerd Hoffmann <kraxel@redhat.com>, Eric Blake <eblake@redhat.com>, Sagar Karandikar <sagark@eecs.berkeley.edu>, Aurelien Jarno <aurelien@aurel32.net>, Guan Xuetao <gxt@mprc.pku.edu.cn>, David Gibson <david@gibson.dropbear.id.au>, Riku Voipio <riku.voipio@iki.fi>, Anthony Green <green@moxielogic.com>, Richard Henderson <rth@twiddle.net>, Shannon Zhao <shannon.zhaosl@gmail.com>, Aleksandar Rikalo <arikalo@wavecomp.com>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Aleksandar Markovic <amarkovic@wavecomp.com>, Cornelia Huck <cohuck@redhat.com>, Chris Wulff <crwulff@gmail.com>, Bastian Koppelmann <kbastian@mail.uni-paderborn.de>, Markus Armbruster <armbru@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Eduardo Habkost <ehabkost@redhat.com>, Eric Auger <eric.auger@redhat.com>, Marek Vasut <marex@denx.de>
MAINTAINERS                    |  6 ++---
accel/tcg/user-exec-stub.c     |  2 +-
arch_init.c                    | 11 --------
cpus-common.c                  |  2 +-
docs/interop/firmware.json     |  2 +-
hw/acpi/cpu_hotplug.c          |  2 +-
hw/acpi/piix4.c                |  2 +-
hw/arm/smmu-common.c           |  2 +-
hw/arm/virt-acpi-build.c       |  2 +-
hw/core/Makefile.objs          |  1 +
{qom => hw/core}/cpu.c         |  2 +-
hw/core/generic-loader.c       |  2 +-
hw/core/machine-qmp-cmds.c     | 10 +++++++
hw/core/null-machine.c         |  2 +-
hw/cpu/a9mpcore.c              |  2 +-
hw/cpu/cluster.c               |  2 +-
hw/i386/acpi-build.c           |  2 +-
hw/i386/pc.c                   |  2 +-
hw/intc/arm_gic.c              |  2 +-
hw/intc/arm_gicv3_common.c     |  2 +-
hw/isa/lpc_ich9.c              |  2 +-
hw/misc/imx6_src.c             |  2 +-
hw/ppc/spapr.c                 |  2 +-
hw/timer/a9gtimer.c            |  2 +-
hw/timer/arm_mptimer.c         |  2 +-
include/exec/cpu-all.h         |  2 +-
include/exec/cpu-defs.h        |  2 +-
include/exec/log.h             |  2 +-
include/hw/boards.h            |  2 +-
include/{qom => hw/core}/cpu.h |  0
include/hw/ppc/openpic.h       |  2 +-
include/sysemu/hw_accel.h      |  2 +-
include/sysemu/kvm.h           |  2 +-
qapi/common.json               | 25 ------------------
qapi/machine.json              | 48 +++++++++++++++++++++++++++++++++-
qapi/misc.json                 | 23 ----------------
qom/Makefile.objs              |  1 -
target/alpha/cpu-qom.h         |  2 +-
target/arm/cpu-qom.h           |  2 +-
target/cris/cpu-qom.h          |  2 +-
target/hppa/cpu-qom.h          |  2 +-
target/hppa/int_helper.c       |  2 +-
target/hppa/mem_helper.c       |  2 +-
target/i386/cpu-qom.h          |  2 +-
target/lm32/cpu-qom.h          |  2 +-
target/m68k/cpu-qom.h          |  2 +-
target/microblaze/cpu-qom.h    |  2 +-
target/mips/cpu-qom.h          |  2 +-
target/moxie/cpu.h             |  2 +-
target/nios2/cpu.h             |  2 +-
target/openrisc/cpu.h          |  2 +-
target/ppc/cpu-qom.h           |  2 +-
target/riscv/cpu.h             |  2 +-
target/s390x/cpu-qom.h         |  2 +-
target/s390x/cpu_models.h      |  2 +-
target/sh4/cpu-qom.h           |  2 +-
target/sparc/cpu-qom.h         |  2 +-
target/tilegx/cpu.h            |  2 +-
target/tricore/cpu-qom.h       |  2 +-
target/unicore32/cpu-qom.h     |  2 +-
target/xtensa/cpu-qom.h        |  2 +-
trace/control-internal.h       |  2 +-
ui/cocoa.m                     |  2 +-
63 files changed, 114 insertions(+), 119 deletions(-)
rename {qom => hw/core}/cpu.c (99%)
rename include/{qom => hw/core}/cpu.h (100%)
[Qemu-devel] [PATCH 0/2] Move some machine core code to proper places
Posted by Markus Armbruster 4 years, 9 months ago
This is a follow-up to my "Move QOM, qdev, machine core and dump code"
series, merged in commit 374f63f6810.

Markus Armbruster (2):
  hw/core: Move cpu.c, cpu.h from qom/ to hw/core/
  qapi: Move query-target from misc.json to machine.json

 MAINTAINERS                    |  6 ++---
 accel/tcg/user-exec-stub.c     |  2 +-
 arch_init.c                    | 11 --------
 cpus-common.c                  |  2 +-
 docs/interop/firmware.json     |  2 +-
 hw/acpi/cpu_hotplug.c          |  2 +-
 hw/acpi/piix4.c                |  2 +-
 hw/arm/smmu-common.c           |  2 +-
 hw/arm/virt-acpi-build.c       |  2 +-
 hw/core/Makefile.objs          |  1 +
 {qom => hw/core}/cpu.c         |  2 +-
 hw/core/generic-loader.c       |  2 +-
 hw/core/machine-qmp-cmds.c     | 10 +++++++
 hw/core/null-machine.c         |  2 +-
 hw/cpu/a9mpcore.c              |  2 +-
 hw/cpu/cluster.c               |  2 +-
 hw/i386/acpi-build.c           |  2 +-
 hw/i386/pc.c                   |  2 +-
 hw/intc/arm_gic.c              |  2 +-
 hw/intc/arm_gicv3_common.c     |  2 +-
 hw/isa/lpc_ich9.c              |  2 +-
 hw/misc/imx6_src.c             |  2 +-
 hw/ppc/spapr.c                 |  2 +-
 hw/timer/a9gtimer.c            |  2 +-
 hw/timer/arm_mptimer.c         |  2 +-
 include/exec/cpu-all.h         |  2 +-
 include/exec/cpu-defs.h        |  2 +-
 include/exec/log.h             |  2 +-
 include/hw/boards.h            |  2 +-
 include/{qom => hw/core}/cpu.h |  0
 include/hw/ppc/openpic.h       |  2 +-
 include/sysemu/hw_accel.h      |  2 +-
 include/sysemu/kvm.h           |  2 +-
 qapi/common.json               | 25 ------------------
 qapi/machine.json              | 48 +++++++++++++++++++++++++++++++++-
 qapi/misc.json                 | 23 ----------------
 qom/Makefile.objs              |  1 -
 target/alpha/cpu-qom.h         |  2 +-
 target/arm/cpu-qom.h           |  2 +-
 target/cris/cpu-qom.h          |  2 +-
 target/hppa/cpu-qom.h          |  2 +-
 target/hppa/int_helper.c       |  2 +-
 target/hppa/mem_helper.c       |  2 +-
 target/i386/cpu-qom.h          |  2 +-
 target/lm32/cpu-qom.h          |  2 +-
 target/m68k/cpu-qom.h          |  2 +-
 target/microblaze/cpu-qom.h    |  2 +-
 target/mips/cpu-qom.h          |  2 +-
 target/moxie/cpu.h             |  2 +-
 target/nios2/cpu.h             |  2 +-
 target/openrisc/cpu.h          |  2 +-
 target/ppc/cpu-qom.h           |  2 +-
 target/riscv/cpu.h             |  2 +-
 target/s390x/cpu-qom.h         |  2 +-
 target/s390x/cpu_models.h      |  2 +-
 target/sh4/cpu-qom.h           |  2 +-
 target/sparc/cpu-qom.h         |  2 +-
 target/tilegx/cpu.h            |  2 +-
 target/tricore/cpu-qom.h       |  2 +-
 target/unicore32/cpu-qom.h     |  2 +-
 target/xtensa/cpu-qom.h        |  2 +-
 trace/control-internal.h       |  2 +-
 ui/cocoa.m                     |  2 +-
 63 files changed, 114 insertions(+), 119 deletions(-)
 rename {qom => hw/core}/cpu.c (99%)
 rename include/{qom => hw/core}/cpu.h (100%)

-- 
2.21.0


Re: [Qemu-devel] [PATCH 0/2] Move some machine core code to proper places
Posted by Markus Armbruster 4 years, 8 months ago
Queued for 4.2.