]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
qdev: add class_init to DeviceInfo
authorAnthony Liguori <aliguori@us.ibm.com>
Sun, 4 Dec 2011 20:37:06 +0000 (14:37 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 27 Jan 2012 16:50:46 +0000 (10:50 -0600)
commit3dde52d2fe5fd4783bdd06f88561cbd0695aae06
treedca514ef20568c98fef12bd51b8df5c49b80a3b6
parent3cc90eb2b7c0810fb23ceed57c1f50683ee803fd
qdev: add class_init to DeviceInfo

Since we are still dynamically creating TypeInfo, we need to chain the
class_init function in order to be able to make use of it within subclasses of
TYPE_DEVICE.

This will disappear once we register TypeInfos directly.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev.c
hw/qdev.h