aboutsummaryrefslogtreecommitdiff
path: root/migration-fd.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-08-08 10:21:26 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-11-02 18:35:06 +0100
commitd263a20bcfc94a59c87176df6c2d29d65a7e4e6a (patch)
tree69823f56d367feb4653a4f11f750b415868464f2 /migration-fd.c
parent70eb6330343ebc61e5fb22be3d137df40f4bb058 (diff)
migration: replace qemu_stdio_fd with qemu_get_fd
Reviewed-by: Orit Wasserman <owasserm@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'migration-fd.c')
-rw-r--r--migration-fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration-fd.c b/migration-fd.c
index ce6932d7c3..b47b222e88 100644
--- a/migration-fd.c
+++ b/migration-fd.c
@@ -93,7 +93,7 @@ static void fd_accept_incoming_migration(void *opaque)
QEMUFile *f = opaque;
process_incoming_migration(f);
- qemu_set_fd_handler2(qemu_stdio_fd(f), NULL, NULL, NULL, NULL);
+ qemu_set_fd_handler2(qemu_get_fd(f), NULL, NULL, NULL, NULL);
qemu_fclose(f);
}