diff options
| author | Andreas Färber | 2013-01-09 03:58:11 +0100 |
|---|---|---|
| committer | Anthony Liguori | 2013-01-16 01:27:00 +0100 |
| commit | 249d41720b7dfbb5951b430b9eefdbee7464f515 (patch) | |
| tree | d6d7fe5f8d4793c1fe9aaf3c1064e66554c0d3f4 /linux-user | |
| parent | qdev: Fold state enum into bool realized (diff) | |
| download | qemu-249d41720b7dfbb5951b430b9eefdbee7464f515.tar.gz qemu-249d41720b7dfbb5951b430b9eefdbee7464f515.tar.xz qemu-249d41720b7dfbb5951b430b9eefdbee7464f515.zip | |
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 <pbonzini@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Cc: Anthony Liguori <anthony@codemonkey.ws>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions
