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>
This commit is contained in:
Paolo Bonzini 2012-11-08 00:42:50 +01:00 committed by Juan Quintela
parent b823ceaadf
commit e659586e63

View File

@ -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;
}
/*