Re: [PATCH v7 07/10] block: truncate: Don't make backing file data visible

2020-04-24 Thread Max Reitz
On 24.04.20 14:54, Kevin Wolf wrote: > When extending the size of an image that has a backing file larger than > its old size, make sure that the backing file data doesn't become > visible in the guest, but the added area is properly zeroed out. > > Consider the following scenario where the overla

[PATCH v7 07/10] block: truncate: Don't make backing file data visible

2020-04-24 Thread Kevin Wolf
When extending the size of an image that has a backing file larger than its old size, make sure that the backing file data doesn't become visible in the guest, but the added area is properly zeroed out. Consider the following scenario where the overlay is shorter than its backing file: base.q