qemu/qom
Andreas Färber dd83b06ae6 qom: Introduce CPU class
Reintroduce CPUState as QOM object: It's abstract and derived directly
from TYPE_OBJECT for compatibility with the user emulators.
The identifier CPUState avoids conflicts between CPU() and the struct.

Introduce $(qom-twice-y) to build it separately for system and for user
emulators.

Prepare a virtual reset method, (re)introduce cpu_reset() as wrapper.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
2012-03-14 22:20:27 +01:00
..
container.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
cpu.c qom: Introduce CPU class 2012-03-14 22:20:27 +01:00
Makefile qom: Introduce CPU class 2012-03-14 22:20:27 +01:00
object.c qom: Introduce object_class_get_list() 2012-03-14 15:30:39 -05:00
qom-qobject.c qom: add QObject-based property get/set wrappers 2012-02-07 13:52:40 +01:00