提交 e659586e 编写于 作者: P Paolo Bonzini 提交者: Juan Quintela

migration: fix qemu_get_fd for BufferedFile

Not really used, but nice to have it correct. :)
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: NJuan Quintela <quintela@redhat.com>
上级 b823ceaa
...@@ -625,7 +625,7 @@ static int buffered_get_fd(void *opaque) ...@@ -625,7 +625,7 @@ static int buffered_get_fd(void *opaque)
{ {
QEMUFileBuffered *s = opaque; QEMUFileBuffered *s = opaque;
return qemu_get_fd(s->file); return s->migration_state->fd;
} }
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册