Skip to content
  • Jan Kiszka's avatar
    Reset system before loadvm · 5a8a49d7
    Jan Kiszka authored
    
    
    In case we load the vmstate during incoming migration, we start from a
    clean, default machine state as we went through system reset before. But
    if we load from a snapshot, the machine can be in any state. That can
    cause troubles if loading an older image which does not carry all state
    information the executing QEMU requires. Hardly any device takes care of
    this scenario.
    
    However, fixing this is trivial. We just need to issue a system reset
    during loadvm as well.
    
    Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: default avatarLuiz Capitulino <lcapitulino@redhat.com>
    5a8a49d7