qdev: Start disentangling bus from device
commita62c89117fa19adc6f9242844468ac31ec535d7e
authorAndreas Färber <afaerber@suse.de>
Mon, 13 Jul 2015 17:35:41 +0000 (13 19:35 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 26 May 2016 13:06:41 +0000 (26 14:06 +0100)
tree3e84528da610a7584e9c35461ba7ca8f07003121
parentc88c67e58b61618a904d2333ceebefc3c852d32e
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.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[AF: Rebased onto osdep.h]
Signed-off-by: Andreas Färber <afaerber@suse.de>
[PMM: added bus.o to link line for test-qdev-global-props]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/core/Makefile.objs
hw/core/bus.c [new file with mode: 0644]
hw/core/qdev.c
tests/Makefile