diff options
author | Andreas Färber <afaerber@suse.de> | 2013-01-09 03:58:11 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-01-15 18:27:00 -0600 |
commit | 249d41720b7dfbb5951b430b9eefdbee7464f515 (patch) | |
tree | d6d7fe5f8d4793c1fe9aaf3c1064e66554c0d3f4 /qemu-char.c | |
parent | 7983c8a335dd09fec49f99a44d4404aa87828c0a (diff) |
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 'qemu-char.c')
0 files changed, 0 insertions, 0 deletions