aboutsummaryrefslogtreecommitdiff
path: root/migration.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-11-08 00:42:50 +0100
committerJuan Quintela <quintela@redhat.com>2012-12-20 23:09:40 +0100
commite659586e63793a8a61efc4a658e2908ac8a2e935 (patch)
treedf55496189257a8e285cdcbb39dcec0232702a17 /migration.c
parentb823ceaadfaad65f3a034ada394b33ca1bf1a914 (diff)
migration: fix qemu_get_fd for BufferedFile
Not really used, but nice to have it correct. :) 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration.c b/migration.c
index 596aca7276..3fcc1c8616 100644
--- a/migration.c
+++ b/migration.c
@@ -625,7 +625,7 @@ static int buffered_get_fd(void *opaque)
{
QEMUFileBuffered *s = opaque;
- return qemu_get_fd(s->file);
+ return s->migration_state->fd;
}
/*