[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 00/24] CPU DeviceState v7
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PATCH 00/24] CPU DeviceState v7 |
Date: |
Fri, 9 Nov 2012 12:56:28 -0200 |
Changes on v7:
- Use the new QEMU_WEAK_ALIAS mechanism instead of the (now extinct)
GCC_WEAK attribute (patches 20 and 21)
v6:
- Simple rebase against latest qemu.git master
- Patch 13: some new typedefs were added and others were removed
- Patch 19: trivial rebase
v5:
- Tons of header cleanups just to eliminate qlist.h <-> cpu-common.h circular
dependency (patches 1-17)
- Add copyright/license information to qdev-properties.c (patch 17)
- Add copyright/license information to qdev-properties-system.c (patch 22)
- use error_report()+abort() instead of hw_error() on qdev.c (patch 18)
- Move qemu_[un]register_reset() and qemu_devices_reset() to qdev-core.c
(patch 19)
- Make vmstate_[un]register() weak stubs, instead of a new function (patch 20)
- Make sysbus_get_default() weak stub, instead of new qbus reset (un)register
functions (patch 21)
- Eliminate qdev-system.c (all code is kept on qdev.c, now) (patch 22)
v4:
- Add GCC_WEAK_DECL to functions that have GCC_WEAK versions
- Updated the qdev_init_gpio_in() code on qdev-system.c to current version
- Patch description updates (moved changelog below "---" and/or move info
about changes made by different authors between SoB lines)
v3 (submitted by Igor):
- rebased on top of 8b4a3df (today's master)
- slight code reshuffling in (see commit's changelog)
"qdev: separate core from the code used only by qemu-system-*"
"move qemu_irq typedef out of cpu-common.h"
- commit messages cleanup
v2:
Removes the CONFIG_USER_ONLY ifdefs, and use weak symbols to move
the vmstate and qemu_register_reset() handling to qdev-system.c
git tree for testing:
https://github.com/ehabkost/qemu-hacks/tree/cpu_qdev.v7
References to previous versions:
v6: http://article.gmane.org/gmane.comp.emulators.qemu/179918
v5: http://article.gmane.org/gmane.comp.emulators.qemu/177426
v4: http://article.gmane.org/gmane.comp.emulators.qemu/176127
v3: http://article.gmane.org/gmane.comp.emulators.qemu/175980
v2: http://article.gmane.org/gmane.comp.emulators.qemu/173909
v1: http://article.gmane.org/gmane.comp.emulators.qemu/166630
Anthony Liguori (1):
qdev: split up header so it can be used in cpu.h
Eduardo Habkost (20):
user: move *-user/qemu-types.h to main directory
user: rename qemu-types.h to qemu-user-types.h
qemu-common.h: comment about usage rules
move I/O-related definitions from qemu-common.h to a new header
(qemu-stdio.h)
qemu-fsdev-dummy.c: include module.h
vnc-palette.h: include <stdbool.h>
ui/vnc-pallete.c: include headers it needs
qemu-config.h: include headers it needs
qapi/qmp-registry.c: include headers it needs
qga/channel-posix.c: include headers it needs
create qemu-types.h for struct typedefs
sysemu.h: include qemu-types.h instead of qemu-common.h
qlist.h: do not include qemu-common.h
qdev-properties.c: add copyright/license information
qdev: qdev_create(): use error_report() instead of hw_error()
qdev: move reset handler list from vl.c to qdev.c
qdev: add weak aliases for vmstate handling on qdev.c
qdev: add weak alias to sysbus_get_default() on qdev.c
qdev-properties.c: separate core from the code used only by
qemu-system-*
include qdev code into *-user, too
Igor Mammedov (3):
move qemu_irq typedef out of cpu-common.h
qapi-types.h: don't include qemu-common.h
qom: make CPU a child of DeviceState
Makefile.objs | 8 +
bsd-user/qemu-types.h | 24 --
bsd-user/qemu.h | 2 +-
cpu-all.h | 2 +-
fsdev/qemu-fsdev-dummy.c | 1 +
hw/Makefile.objs | 9 +-
hw/arm-misc.h | 1 +
hw/bt.h | 2 +
hw/devices.h | 2 +
hw/hw.h | 6 +-
hw/irq.h | 2 +
hw/mc146818rtc.c | 1 +
hw/omap.h | 1 +
hw/qdev-addr.c | 1 +
hw/qdev-core.h | 232 +++++++++++++++++
hw/qdev-monitor.h | 16 ++
hw/qdev-properties-system.c | 371 +++++++++++++++++++++++++++
hw/qdev-properties.c | 352 +++----------------------
hw/qdev-properties.h | 131 ++++++++++
hw/qdev-reset.h | 11 +
hw/qdev.c | 100 ++++++--
hw/qdev.h | 371 +--------------------------
hw/soc_dma.h | 1 +
hw/xen.h | 1 +
include/qemu/cpu.h | 6 +-
linux-user/qemu.h | 2 +-
qapi/qmp-registry.c | 2 +
qemu-common.h | 123 +--------
qemu-config.h | 2 +
qemu-stdio.h | 76 ++++++
qemu-types.h | 61 +++++
linux-user/qemu-types.h => qemu-user-types.h | 0
qga/channel-posix.c | 4 +
qlist.h | 1 -
qom/cpu.c | 3 +-
scripts/qapi-types.py | 3 +-
sysemu.h | 3 +-
ui/vnc-palette.c | 2 +
ui/vnc-palette.h | 1 +
vl.c | 40 ---
vmstate.h | 2 +
41 files changed, 1085 insertions(+), 894 deletions(-)
delete mode 100644 bsd-user/qemu-types.h
create mode 100644 hw/qdev-core.h
create mode 100644 hw/qdev-monitor.h
create mode 100644 hw/qdev-properties-system.c
create mode 100644 hw/qdev-properties.h
create mode 100644 hw/qdev-reset.h
create mode 100644 qemu-stdio.h
create mode 100644 qemu-types.h
rename linux-user/qemu-types.h => qemu-user-types.h (100%)
--
1.7.11.7