qemu-e2k/hw/core
Igor Mammedov a7ddba527c 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>
2013-04-16 01:19:46 +02:00
..
empty_slot.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
irq.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
loader.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
Makefile.objs hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
null-machine.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
ptimer.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
qdev-addr.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
qdev-properties-system.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
qdev-properties.c qdev: Add qdev property for bool type 2013-04-16 01:19:46 +02:00
qdev.c qdev: Set device's parent before calling realize() down inheritance chain 2013-04-16 01:19:46 +02:00
stream.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
sysbus.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
uboot_image.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00