summary refs log tree commit diff stats
path: root/hw/ioapic_common.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-10-16 12:19:12 +0200
committerJan Kiszka <jan.kiszka@siemens.com>2012-01-19 12:14:40 +0100
commit7a380ca350f84b5b99391da20a2b4ea505b0524d (patch)
treea47120ebc693433afa1a09d9ef217bb8cc777556 /hw/ioapic_common.c
parentdae01685280cef9b70ade9167340b5373eada9e8 (diff)
downloadfocaccia-qemu-7a380ca350f84b5b99391da20a2b4ea505b0524d.tar.gz
focaccia-qemu-7a380ca350f84b5b99391da20a2b4ea505b0524d.zip
apic: Open-code timer save/restore
To enable migration between accelerated and non-accelerated APIC models,
we will need to handle the timer saving and restoring specially and can
no longer rely on the automatics of VMSTATE_TIMER. Specifically,
accelerated model will not start any QEMUTimer.

This patch therefore factors out the generic bits into apic_next_timer
and use a post-load callback to implemented model-specific logic.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'hw/ioapic_common.c')
0 files changed, 0 insertions, 0 deletions