• J
    apic: Open-code timer save/restore · 7a380ca3
    Jan Kiszka 提交于
    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: NJan Kiszka <jan.kiszka@siemens.com>
    7a380ca3
apic.c 20.0 KB