Paolo Bonzini <pbonz...@redhat.com> wrote: > Now that qemu_fseek does not exist anymore, there is no reason to do > an fseek before fread/fwrite when operating on an stdio file. > Thus, unify the get/put_buffer callbacks used by qemu_fopen > with those used for pipes.
As far as I know, the pos parameter was only used by qcow2 to store the snapshots there. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Juan Quintela <quint...@redhat.com>