apic: Cleanup for QOM'ification
commitd3b0c9e90a9853984c60478dae45bedf8aadf42a
authorxiaoqiang zhao <zxq_yx_007@163.com>
Tue, 5 Nov 2013 10:16:02 +0000 (5 18:16 +0800)
committerAndreas Färber <afaerber@suse.de>
Tue, 24 Dec 2013 17:02:18 +0000 (24 18:02 +0100)
treea6d922bef11f01da02a5ce5e244e43fdfb1c5e00
parent6780a22cc71227068925e7b70faa71d6641a9b1b
apic: Cleanup for QOM'ification

Do some cleanup, including:
1. Remove DO_UPCAST() for APICCommonState
2. Change DeviceState pointers from 'd' to 'dev', better to understand
3. Rename 'register_types' to specifically 'apic_common_register_types'

Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/i386/kvm/apic.c
hw/intc/apic.c
hw/intc/apic_common.c