CPU DeviceState v6
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest24 patches 1 replyIn review
v5 from the cover letter
- 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)
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/24 | user: move *-user/qemu-types.h to main directorybsd-user/ qemu-types.h | +0 | 0 replies | |
| 2/24 | user: rename qemu-types.h to qemu-user-types.hbsd-user/ cpu-all.h linux-user/ +1 more | +3 | 0 replies | |
| 3/24 | qemu-common.h: comment about usage rulesqemu-common.h | +10 | 0 replies | |
| 4/24 | move qemu_irq typedef out of cpu-common.hhw/ hw/ hw/ +5 more | +10 | 0 replies | |
| 5/24 | qdev: split up header so it can be used in cpu.hhw/ hw/ hw/ +5 more | +392 | 0 replies | |
| 6/24 | move I/O-related definitions from qemu-common.h to a new header (qemu-stdio.h)qemu-common.h qemu-stdio.h | +78 | 0 replies | |
| 7/24 | qemu-fsdev-dummy.c: include module.hfsdev/ | +1 | 0 replies | |
| 8/24 | vnc-palette.h: include <stdbool.h>ui/ | +1 | 0 replies | |
| 9/24 | ui/vnc-pallete.c: include headers it needsui/ | +2 | 0 replies | |
| 10/24 | qemu-config.h: include headers it needsqemu-config.h | +2 | 0 replies | |
| 11/24 | qapi/qmp-registry.c: include headers it needsqapi/ | +2 | 0 replies | |
| 12/24 | qga/channel-posix.c: include headers it needsqga/ | +4 | 0 replies | |
| 13/24 | create qemu-types.h for struct typedefshw/ qemu-common.h qemu-types.h | +63 | 0 replies | |
| 14/24 | sysemu.h: include qemu-types.h instead of qemu-common.hsysemu.h | +1 | 0 replies | |
| 15/24 | qlist.h: do not include qemu-common.hqlist.h | +0 | 0 replies | |
| 16/24 | qapi-types.h: don't include qemu-common.hscripts/ | +2 | 0 replies | |
| 17/24 | qdev-properties.c: add copyright/license informationhw/ | +30 | 0 replies | |
| 18/24 | qdev: qdev_create(): use error_report() instead of hw_error()hw/ | +5 | 0 replies | |
| 19/24 | qdev: move reset handler list from vl.c to qdev.chw/ hw/ hw/ +3 more | +54 | 0 replies | |
| 20/24 | qdev: add stub vmstate handling to qdev.chw/ vmstate.h | +25 | 1 reply | |
| 21/24 | qdev: add sysbus_get_default() GCC_WEAK stubhw/ hw/ | +13 | 0 replies | |
| 22/24 | qdev-properties.c: separate core from the code used only by qemu-system-*hw/ hw/ hw/ +2 more | +374 | 0 replies | |
| 23/24 | include qdev code into *-user, tooMakefile.objs hw/ | +14 | 0 replies | |
| 24/24 | qom: make CPU a child of DeviceStateinclude/ qom/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 00/24] CPU DeviceState v6
Changes on 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:
Rremoves 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.v5
References to previous versions:
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 stub vmstate handling to qdev.c
qdev: add sysbus_get_default() GCC_WEAK stub 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 | 229 +++++++++++++++++ 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 | 96 +++++-- 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 | 6 +- 41 files changed, 1080 insertions(+), 896 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%)
Signature · 1 line
1.7.11.4