aboutsummaryrefslogtreecommitdiff
path: root/migration.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-07-20 13:33:53 +0200
committerJuan Quintela <quintela@redhat.com>2012-10-17 18:34:59 +0200
commit796b4b0f5011e30cffbc57ed5a4ab93c6f5eaab7 (patch)
treebd353edd96463d89a8040fe5b4aa0d07b5a68f5e /migration.c
parent11c7674129a81b5b69e00ad252a63186e15bf6b6 (diff)
downloadqemu-796b4b0f5011e30cffbc57ed5a4ab93c6f5eaab7.zip
qemu-796b4b0f5011e30cffbc57ed5a4ab93c6f5eaab7.tar.gz
qemu-796b4b0f5011e30cffbc57ed5a4ab93c6f5eaab7.tar.bz2
buffered_file: We can access directly to bandwidth_limit
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'migration.c')
-rw-r--r--migration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration.c b/migration.c
index f647a3f..ea21dc4 100644
--- a/migration.c
+++ b/migration.c
@@ -429,7 +429,7 @@ void migrate_fd_connect(MigrationState *s)
int ret;
s->state = MIG_STATE_ACTIVE;
- s->file = qemu_fopen_ops_buffered(s, s->bandwidth_limit);
+ s->file = qemu_fopen_ops_buffered(s);
DPRINTF("beginning savevm\n");
ret = qemu_savevm_state_begin(s->file, &s->params);