On 18.04.19 20:55, Eric Blake wrote: > On 7/13/18 6:14 AM, Max Reitz wrote: >> Currently, you cannot add a backing file to an image when it currently >> has none. It is really simple to allow this, though (effectively by >> setting old_backing_size to 0), so this patch does just that. > > Can't you do that with 'rebase -u'? I guess the point of this patch is > to make 'rebase' without -u also able to add a backing file? A bit more > clarity in the commit message, such as a sample command line (and > possibly even the error it issued pre-patch) would help.
Yes, this is about normal rebase without -u. There is an example in the cover letter, but I can add it to this patch here, too, yes. >> Signed-off-by: Max Reitz <mre...@redhat.com> >> --- >> qemu-img.c | 61 ++++++++++++++++++++++++++++++------------------------ >> 1 file changed, 34 insertions(+), 27 deletions(-) > > At any rate, the code looks fine, even if the diff is harder to read > because of added indentation. > > Reviewed-by: Eric Blake <ebl...@redhat.com> Thanks! Max
signature.asc
Description: OpenPGP digital signature