qdev: Fold state enum into bool realized
authorAndreas Färber <afaerber@suse.de>
Wed, 9 Jan 2013 02:58:10 +0000 (03:58 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 16 Jan 2013 00:26:30 +0000 (18:26 -0600)
commit7983c8a335dd09fec49f99a44d4404aa87828c0a
treec69919e4bfc2de020b0d9b12df47bfd8527aa50d
parent2c9ee0291f8ca7e18f8e96a34e8f4be7867219d2
qdev: Fold state enum into bool realized

Whether the device was initialized or not is QOM-level information and
currently unused. Drop it from device. This leaves the boolean state of
whether or not DeviceClass::init was called or not, a.k.a. "realized".

Suggested-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev-addr.c
hw/qdev-core.h
hw/qdev-properties-system.c
hw/qdev-properties.c
hw/qdev.c