QOM devices patch queue 2016-05-25
Hello Peter,
This is my QOM (devices) patch queue. Please pull.
I've needed to build-fix it twice by now, so if I fixed the #includes wrongly please pick it up as patch and tweak it or apply a cleanup on top.
Thanks,
Andreas
P.S. I don't seem to have a MAINTAINERS patch to go with it yet, but part of the discussion prompting the patch was about creating more fine-grained sections reflecting maintenance reality, so we might want to consider adding a new one? The intended follow-up was refactoring tree-walking and device reset for s390x.
The following changes since commit 287db79df8af8e31f18e262feb5e05103a09e4d4:
Merge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into staging (2016-05-24 13:06:33 +0100)
are available in the git repository at:
git://github.com/afaerber/qemu-cpu.git tags/qom-devices-for-peter
for you to fetch changes up to 8cce06115b6f69e4596e9f81455140759cca8c9d:
qdev: Start disentangling bus from device (2016-05-25 23:24:35 +0200)
----------------------------------------------------------------
QOM infrastructure fixes and device conversions
* Start splitting up qdev.c
----------------------------------------------------------------
Andreas Färber (1):
qdev: Start disentangling bus from device
hw/core/Makefile.objs | 1 + hw/core/bus.c | 251 ++++++++++++++++++++++++++++++++++++++++++++++++++ hw/core/qdev.c | 222 -------------------------------------------- 3 files changed, 252 insertions(+), 222 deletions(-) create mode 100644 hw/core/bus.c
[Qemu-devel] [PULL 1/1] qdev: Start disentangling bus from device
Move bus type and related APIs to a separate file bus.c. This is a first step in breaking up qdev.c into more manageable chunks.
--- hw/core/Makefile.objs | 1 + hw/core/bus.c | 251 ++++++++++++++++++++++++++++++++++++++++++++++++++ hw/core/qdev.c | 222 -------------------------------------------- 3 files changed, 252 insertions(+), 222 deletions(-) create mode 100644 hw/core/bus.c
hw/core/Makefile.objs +1 -0
@@ -1,5 +1,6 @@ # core qdev-related obj files, also used by *-user: common-obj-y += qdev.o qdev-properties.o +common-obj-y += bus.o common-obj-y += fw-path-provider.o # irq.o needed for qdev GPIO handling: common-obj-y += irq.o
hw/core/bus.c new file +251 -0
251 lines not on this page · raw message
hw/core/qdev.c +0 -222
248 lines not on this page · raw message
Signature · 1 line
2.6.6
Peter Maydell
AppliedQuoted 29 lines · Andreas Färber
Hello Peter,
This is my QOM (devices) patch queue. Please pull.
I've needed to build-fix it twice by now, so if I fixed the #includes wrongly please pick it up as patch and tweak it or apply a cleanup on top.
Thanks,
Andreas
P.S. I don't seem to have aMAINTAINERSpatch to go with it yet, but part of the discussion prompting the patch was about creating more fine-grained sections reflecting maintenance reality, so we might want to consider adding a new one? The intended follow-up was refactoring tree-walking and device reset for s390x.Cc Peter Maydell <[email protected]>Cc Eduardo Habkost <[email protected]>Cc David Hildenbrand <[email protected]>The following changes since commit
287db79df8af8e31f18e262feb5e05103a09e4d4:Merge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into staging (2016-05-24 13:06:33 +0100)
are available in the git repository at:
git://github.com/afaerber/qemu-cpu.gittags/qom-devices-for-peterfor you to fetch changes up to
8cce06115b6f69e4596e9f81455140759cca8c9d:
Quoted 8 lines
qdev: Start disentangling bus from device (2016-05-25 23:24:35 +0200)
----------------------------------------------------------------
QOM infrastructure fixes and device conversions* Start splitting up
qdev.c----------------------------------------------------------------
Applied, thanks (I had to add bus.o to the link line for test-qdev-global-props, but otherwise no problems.)
-- PMM