Re: [libvirt] [PATCH 1/3] use virFileAllocate in virStorageFileResize

2017-09-26 Thread John Ferlan
On 09/25/2017 11:46 AM, Ján Tomko wrote: > Introduce a new function virFileAllocate that will call the > non-destructive variants of safezero, essentially reverting > my commit 1390c268 > safezero: fall back to writing zeroes even when resizing > back to the state as of commit 18f0316 > v

[libvirt] [PATCH 1/3] use virFileAllocate in virStorageFileResize

2017-09-25 Thread Ján Tomko
Introduce a new function virFileAllocate that will call the non-destructive variants of safezero, essentially reverting my commit 1390c268 safezero: fall back to writing zeroes even when resizing back to the state as of commit 18f0316 virstoragefile: Have virStorageFileResize use safezero