]> Git Repo - qemu.git/commit
qdev: Prepare "realized" property
authorAndreas Färber <[email protected]>
Wed, 9 Jan 2013 02:58:11 +0000 (03:58 +0100)
committerAnthony Liguori <[email protected]>
Wed, 16 Jan 2013 00:27:00 +0000 (18:27 -0600)
commit249d41720b7dfbb5951b430b9eefdbee7464f515
treed6d7fe5f8d4793c1fe9aaf3c1064e66554c0d3f4
parent7983c8a335dd09fec49f99a44d4404aa87828c0a
qdev: Prepare "realized" property

Introduce the QOM realizefn suggested by Anthony.
Detailed documentation is supplied in the qdev header.

For now this implements a default DeviceClass::realize callback that
just wraps DeviceClass::init, which it deprecates.
Once all devices have been converted to DeviceClass::realize,
DeviceClass::init is to be removed.

Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
Cc: Anthony Liguori <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
hw/qdev-core.h
hw/qdev.c
This page took 0.026465 seconds and 4 git commands to generate.