[PATCH 13/35] Replace virDomainDiskInsertPreAlloced by virDomainDiskInsert

Ján Tomko jtomko at jtomko.net
Mon May 24 12:00:40 UTC 2021


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 at 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 at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210524/e371a4cc/attachment-0001.sig>


More information about the libvir-list mailing list