summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorIgor Mammedov2013-04-11 16:51:56 +0200
committerAndreas Färber2013-04-16 01:19:46 +0200
commita7ddba527c0b9dd32dfa7e35fa41701f990a3db4 (patch)
treebd9b2e223e127d3d7f5ec3e4c9cfc74e56ca2c9f /include/hw
parentcpu: Pass CPUState to *cpu_synchronize_post*() (diff)
downloadqemu-a7ddba527c0b9dd32dfa7e35fa41701f990a3db4.tar.gz
qemu-a7ddba527c0b9dd32dfa7e35fa41701f990a3db4.tar.xz
qemu-a7ddba527c0b9dd32dfa7e35fa41701f990a3db4.zip
qdev: Set device's parent before calling realize() down inheritance chain
Currently device_set_realized() sets parent only after device was realized, but qdev_device_add() sets it before device is realized. Make behavior consistent and alter device_set_realized() to behave like qdev_device_add(). It will allow to set link<> properties in realize() method in classes inherited from DEVICE. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/hw')
0 files changed, 0 insertions, 0 deletions