Re: [PULL 11/18] block: Generic file creation fallback

2020-02-25 Thread Max Reitz
On 25.02.20 11:05, Peter Maydell wrote: > On Thu, 20 Feb 2020 at 16:11, Max Reitz wrote: >> >> If a protocol driver does not support image creation, we can see whether >> maybe the file exists already. If so, just truncating it will be >> sufficient. >> >> Signed-off-by: Max Reitz >> Message-Id:

Re: [PULL 11/18] block: Generic file creation fallback

2020-02-25 Thread Peter Maydell
On Thu, 20 Feb 2020 at 16:11, Max Reitz wrote: > > If a protocol driver does not support image creation, we can see whether > maybe the file exists already. If so, just truncating it will be > sufficient. > > Signed-off-by: Max Reitz > Message-Id: <20200122164532.178040-3-mre...@redhat.com> > Si

[PULL 11/18] block: Generic file creation fallback

2020-02-20 Thread Max Reitz
If a protocol driver does not support image creation, we can see whether maybe the file exists already. If so, just truncating it will be sufficient. Signed-off-by: Max Reitz Message-Id: <20200122164532.178040-3-mre...@redhat.com> Signed-off-by: Max Reitz --- block.c | 159