summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorxiaoqiang zhao <zxq_yx_007@163.com>2013-11-05 18:16:03 +0800
committerAndreas Färber <afaerber@suse.de>2013-12-24 18:02:18 +0100
commitff6986ce618c69f988e4419efd67ea5cbf7792a5 (patch)
tree016383bf01308755c11212c2be849baea9415f74 /include
parentd3b0c9e90a9853984c60478dae45bedf8aadf42a (diff)
downloadqemu-ff6986ce618c69f988e4419efd67ea5cbf7792a5.tar.gz
qemu-ff6986ce618c69f988e4419efd67ea5cbf7792a5.tar.bz2
qemu-ff6986ce618c69f988e4419efd67ea5cbf7792a5.zip
apic: QOM'ify APIC
Convert 'init' function to QOM's 'realize' for apic, kvm/apic and xen/xen_apic. Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/hw/i386/apic_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/i386/apic_internal.h b/include/hw/i386/apic_internal.h
index 1b0a7fbfad..70542a6f43 100644
--- a/include/hw/i386/apic_internal.h
+++ b/include/hw/i386/apic_internal.h
@@ -80,7 +80,7 @@ typedef struct APICCommonClass
{
ICCDeviceClass parent_class;
- void (*init)(APICCommonState *s);
+ DeviceRealize realize;
void (*set_base)(APICCommonState *s, uint64_t val);
void (*set_tpr)(APICCommonState *s, uint8_t val);
uint8_t (*get_tpr)(APICCommonState *s);