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:
parent
b823ceaadf
commit
e659586e63
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue