
24 May
2021
24 May
'21
2 p.m.
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.
Signed-off-by: Peter Krempa <pkrempa@redhat.com> --- src/libxl/libxl_driver.c | 4 +--- src/lxc/lxc_driver.c | 6 +----- src/qemu/qemu_hotplug.c | 3 +-- 3 files changed, 3 insertions(+), 10 deletions(-)
Reviewed-by: Ján Tomko <jtomko@redhat.com> Jano