aboutsummaryrefslogtreecommitdiff
path: root/hw/ioapic_common.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-27sysbus: apic: ioapic: convert to QEMU Object ModelAnthony Liguori1-14/+35
This converts three devices because apic and ioapic are subclasses of sysbus. Converting subclasses independently of their base class is prohibitively hard. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-01-27qdev: move qdev->info to classAnthony Liguori1-3/+3
Right now, DeviceInfo acts as the class for qdev. In order to switch to a proper ObjectClass derivative, we need to ween all of the callers off of interacting directly with the info pointer. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-01-19ioapic: Factor out base class for KVM reuseJan Kiszka1-0/+104
Split up the IOAPIC analogously to APIC and i8259. KVM will share the IOAPICCommonState, the vmstate, reset logic and certain init parts with the user space model. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>