• J
    migration: create new section to store global state · df4b1024
    Juan Quintela 提交于
    This includes a new section that for now just stores the current qemu state.
    
    Right now, there are only one way to control what is the state of the
    target after migration.
    
    - If you run the target qemu with -S, it would start stopped.
    - If you run the target qemu without -S, it would run just after migration finishes.
    
    The problem here is what happens if we start the target without -S and
    there happens one error during migration that puts current state as
    -EIO.  Migration would ends (notice that the error happend doing block
    IO, network IO, i.e. nothing related with migration), and when
    migration finish, we would just "continue" running on destination,
    probably hanging the guest/corruption data, whatever.
    Signed-off-by: NJuan Quintela <quintela@redhat.com>
    Reviewed-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
    df4b1024
trace-events 111.0 KB