Statistics
| Branch: | Revision:

root / hw / intc / ioapic_common.c @ d2f41a11

History | View | Annotate | Download (3.6 kB)

# Date Author Comment
f9771858 12/24/2013 07:02 pm xiaoqiang zhao

ioapic: Cleanup for QOM'ification

Some cleanups:
  • ioapic_common.c: Rename 'register_types' to 'ioapic_common_register_types'
  • Replace inline 'DEVICE' with local 'DeviceState *dev' variable

Signed-off-by: xiaoqiang zhao <>
Signed-off-by: Andreas Färber <>

db0f8888 12/24/2013 07:02 pm xiaoqiang zhao

ioapic: QOM'ify ioapic

Convert 'init' function to QOM's 'realize' for ioapic and kvm-ioapic.
Change variable 'ioapic_no' from static to global. Then we can drop
the 'instance_no' function argument.

Signed-off-by: xiaoqiang zhao <>
Signed-off-by: Andreas Färber <>

efec3dd6 12/23/2013 01:27 am Markus Armbruster

qdev: Replace no_user by cannot_instantiate_with_device_add_yet

In an ideal world, machines can be built by wiring devices together
with configuration, not code. Unfortunately, that's not the world we
live in right now. We still have quite a few devices that need to be...

837d3716 12/23/2013 01:27 am Markus Armbruster

sysbus: Set cannot_instantiate_with_device_add_yet

device_add plugs devices into suitable bus. For "real" buses, that
actually connects the device. For sysbus, the connections need to be
made separately, and device_add can't do that. The device would be...

f5ba7523 07/23/2013 01:37 am Hu Tao

ioapic: Use QOM realize for ioapic

Signed-off-by: Hu Tao <>
[AF: Tweaked error message]
Signed-off-by: Andreas Färber <>

f16a69f7 04/16/2013 02:19 am Igor Mammedov

ioapic: Replace FROM_SYSBUS() with QOM type cast

Signed-off-by: Igor Mammedov <>
Signed-off-by: Andreas Färber <>

7702e47c 04/08/2013 07:13 pm Paolo Bonzini

hw: move interrupt controllers to hw/intc/, configure with default-configs/

Signed-off-by: Paolo Bonzini <>