]> git.proxmox.com Git - qemu.git/commit
i8254: Convert PITCommonState to QOM realizefn
authorAndreas Färber <afaerber@suse.de>
Sun, 25 Nov 2012 17:47:58 +0000 (18:47 +0100)
committerAndreas Färber <afaerber@suse.de>
Fri, 7 Jun 2013 12:55:24 +0000 (14:55 +0200)
commita15d09127b104d1c35fc22bdd65263fe62462b30
tree6e1c6bc2916319b3c581442907c1c8b680b6f378
parent58cd986422d7353e7fac56969ac59daab3cdca67
i8254: Convert PITCommonState to QOM realizefn

Instead of having the parent provide PITCommonClass::init,
let the children override DeviceClass::realize themselves.
This pushes the responsibility for saving and calling the parent's
realizefn to the children.

Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/i386/kvm/i8254.c
hw/timer/i8254.c
hw/timer/i8254_common.c
include/hw/timer/i8254_internal.h