Re: [PATCH 13/35] Replace virDomainDiskInsertPreAlloced by virDomainDiskInsert

2021-05-24 Thread Ján Tomko
On a Friday in 2021, Peter Krempa wrote: Pre-extending the disk array size is pointless nowadays since we've switched to memory APIs which don't return failure. Switch all uses of reallocation of the array followed by 'virDomainDiskInsertPreAlloced' with direct virDomainDiskInsert.

[PATCH 13/35] Replace virDomainDiskInsertPreAlloced by virDomainDiskInsert

2021-05-21 Thread Peter Krempa
Pre-extending the disk array size is pointless nowadays since we've switched to memory APIs which don't return failure. Switch all uses of reallocation of the array followed by 'virDomainDiskInsertPreAlloced' with direct virDomainDiskInsert. Signed-off-by: Peter Krempa ---