Skip to content
  • Jan Kiszka's avatar
    7a380ca3
    apic: Open-code timer save/restore · 7a380ca3
    Jan Kiszka authored
    
    
    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: default avatarJan Kiszka <jan.kiszka@siemens.com>
    7a380ca3
    apic: Open-code timer save/restore
    Jan Kiszka authored
    
    
    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: default avatarJan Kiszka <jan.kiszka@siemens.com>
Loading