From: Eduardo Habkost <ehabkost@redhat.com>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, riku.voipio@iki.fi,
blauwirbel@gmail.com, "Anthony Liguori" <anthony@codemonkey.ws>,
"Igor Mammedov" <imammedo@redhat.com>,
"Andreas Färber" <afaerber@suse.de>
Subject: [Qemu-devel] [PATCH v5 00/24] CPU DeviceState, 5th try
Date: Wed, 24 Oct 2012 01:01:44 -0200 [thread overview]
Message-ID: <1351047728-20360-1-git-send-email-ehabkost@redhat.com> (raw)
Changes on 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:
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 | 124 +--------
qemu-config.h | 2 +
qemu-stdio.h | 76 ++++++
qemu-types.h | 62 +++++
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, 1081 insertions(+), 897 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
next reply other threads:[~2012-10-24 3:01 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-24 3:01 Eduardo Habkost [this message]
2012-10-24 3:01 ` [Qemu-devel] [PATCH 01/24] user: move *-user/qemu-types.h to main directory Eduardo Habkost
2012-10-24 3:01 ` [Qemu-devel] [PATCH 02/24] user: rename qemu-types.h to qemu-user-types.h Eduardo Habkost
2012-10-24 3:01 ` [Qemu-devel] [PATCH 03/24] qemu-common.h: comment about usage rules Eduardo Habkost
2012-10-24 3:01 ` [Qemu-devel] [PATCH 04/24] move qemu_irq typedef out of cpu-common.h Eduardo Habkost
2012-10-24 3:01 ` [Qemu-devel] [PATCH 05/24] qdev: split up header so it can be used in cpu.h Eduardo Habkost
2012-10-24 3:01 ` [Qemu-devel] [PATCH 06/24] move I/O-related definitions from qemu-common.h to a new header (qemu-stdio.h) Eduardo Habkost
2012-10-24 3:01 ` [Qemu-devel] [PATCH 07/24] qemu-fsdev-dummy.c: include module.h Eduardo Habkost
2012-10-24 3:01 ` [Qemu-devel] [PATCH 08/24] vnc-palette.h: include <stdbool.h> Eduardo Habkost
2012-10-24 3:01 ` [Qemu-devel] [PATCH 09/24] ui/vnc-pallete.c: include headers it needs Eduardo Habkost
2012-10-24 3:01 ` [Qemu-devel] [PATCH 10/24] qemu-config.h: " Eduardo Habkost
2012-10-24 3:01 ` [Qemu-devel] [PATCH 11/24] qapi/qmp-registry.c: " Eduardo Habkost
2012-10-24 3:01 ` [Qemu-devel] [PATCH 12/24] qga/channel-posix.c: " Eduardo Habkost
2012-10-24 3:01 ` [Qemu-devel] [PATCH 13/24] create qemu-types.h for struct typedefs Eduardo Habkost
2012-10-24 3:01 ` [Qemu-devel] [PATCH 14/24] sysemu.h: include qemu-types.h instead of qemu-common.h Eduardo Habkost
2012-10-24 3:01 ` [Qemu-devel] [PATCH 15/24] qlist.h: do not include qemu-common.h Eduardo Habkost
2012-10-24 3:02 ` [Qemu-devel] [PATCH 16/24] qapi-types.h: don't " Eduardo Habkost
2012-10-24 3:02 ` [Qemu-devel] [PATCH 17/24] qdev-properties.c: add copyright/license information Eduardo Habkost
2012-10-24 3:02 ` [Qemu-devel] [PATCH 18/24] qdev: qdev_create(): use error_report() instead of hw_error() Eduardo Habkost
2012-10-24 3:02 ` [Qemu-devel] [PATCH 19/24] qdev: move reset handler list from vl.c to qdev.c Eduardo Habkost
2012-10-24 3:02 ` [Qemu-devel] [PATCH 20/24] qdev: add stub vmstate handling " Eduardo Habkost
2012-10-24 3:02 ` [Qemu-devel] [PATCH 21/24] qdev: add sysbus_get_default() GCC_WEAK stub Eduardo Habkost
2012-10-24 3:02 ` [Qemu-devel] [PATCH 22/24] qdev-properties.c: separate core from the code used only by qemu-system-* Eduardo Habkost
2012-10-24 3:02 ` [Qemu-devel] [PATCH 23/24] include qdev code into *-user, too Eduardo Habkost
2012-10-24 3:02 ` [Qemu-devel] [PATCH 24/24] qom: make CPU a child of DeviceState Eduardo Habkost
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1351047728-20360-1-git-send-email-ehabkost@redhat.com \
--to=ehabkost@redhat.com \
--cc=afaerber@suse.de \
--cc=anthony@codemonkey.ws \
--cc=blauwirbel@gmail.com \
--cc=imammedo@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=riku.voipio@iki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).