Re: [Qemu-devel] [PATCH 1/3] qemu-img: Allow rebase with no input base

2019-04-24 Thread Max Reitz
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 y

Re: [Qemu-devel] [PATCH 1/3] qemu-img: Allow rebase with no input base

2019-04-18 Thread Eric Blake
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

[Qemu-devel] [PATCH 1/3] qemu-img: Allow rebase with no input base

2018-07-13 Thread Max Reitz
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. Signed-off-by: Max Reitz --- qemu-img.c | 61 ++---