diff options
| author | Paolo Bonzini | 2012-11-10 18:58:40 +0100 |
|---|---|---|
| committer | Juan Quintela | 2012-12-20 22:44:29 +0100 |
| commit | 24ea1e4b4b79cef2bac6f8e0f0a212f42ef420a9 (patch) | |
| tree | 747f6fdd935c34af20852c708ce25463e849990f /migration.c | |
| parent | buffered_file: do not send more than s->bytes_xfer bytes per tick (diff) | |
| download | qemu-24ea1e4b4b79cef2bac6f8e0f0a212f42ef420a9.tar.gz qemu-24ea1e4b4b79cef2bac6f8e0f0a212f42ef420a9.tar.xz qemu-24ea1e4b4b79cef2bac6f8e0f0a212f42ef420a9.zip | |
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>
Diffstat (limited to 'migration.c')
| -rw-r--r-- | migration.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration.c b/migration.c index 810f25e7eb..e560930977 100644 --- a/migration.c +++ b/migration.c @@ -272,7 +272,7 @@ static int migrate_fd_cleanup(MigrationState *s) s->file = NULL; } - migrate_fd_close(s); + assert(s->fd == -1); return ret; } |
