Daniel P. Berrangé <berra...@redhat.com> wrote: > Prepare for the elimination of QEMUFileOps by introducing a pair of new > constructors. This lets us distinguish between an input and output file > object explicitly rather than via the existance of specific callbacks. > > Reviewed-by: Dr. David Alan Gilbert <dgilb...@redhat.com> > Signed-off-by: Daniel P. Berrangé <berra...@redhat.com>
Reviewed-by: Juan Quintela <quint...@redhat.com> I would argue that creating the is_writable parameter it is easier to just set f->is_writable directly in qemu_file_new_output(), but again, you are the one doing the code. Later, Juan.