Second round, addressing review comments and fixing (still unused) code: - pass IOAPIC default address as property - properly update MMIO mapping after vmload - switch post_load callback for all fix-ups
Jan Kiszka (4): ioapic: Implement EOI handling for level-triggered IRQs ioapic: Save/restore irr ioapic: Prepare for base address relocation ioapic: Style & magics cleanup hw/apic.c | 9 ++- hw/ioapic.c | 248 +++++++++++++++++++++++++++++++++++++++++---------------- hw/ioapic.h | 24 ++++++ hw/pc_piix.c | 4 +- 4 files changed, 209 insertions(+), 76 deletions(-) create mode 100644 hw/ioapic.h