mirror of https://gitee.com/openkylin/qemu.git
migration: remove double call to migrate_fd_close
The call in buffered_close is enough, because buffered_close is called already by migrate_fd_cleanup. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
bde54c08b4
commit
24ea1e4b4b
|
@ -272,7 +272,7 @@ static int migrate_fd_cleanup(MigrationState *s)
|
|||
s->file = NULL;
|
||||
}
|
||||
|
||||
migrate_fd_close(s);
|
||||
assert(s->fd == -1);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue