]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virDomainBlockResize: Introduce VIR_DOMAIN_BLOCK_RESIZE_CAPACITY
authorPeter Krempa <pkrempa@redhat.com>
Wed, 13 Dec 2023 09:07:52 +0000 (10:07 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 14 Dec 2023 15:09:05 +0000 (16:09 +0100)
commit04adeac76e0ecda7f74ad0ea136b02b7f84f540e
tree6831d513bcf0df86df653463f08eb33e95340c86
parenta7b357fd5c5c1110581a0ea86e293e0076fe5654
virDomainBlockResize: Introduce VIR_DOMAIN_BLOCK_RESIZE_CAPACITY

Allow users to easily resize 'raw' images on block devices to the full
capacity of the block device. Obviously this won't work on file-backed
storage (filling the remaining capacity is most likely wrong) or for
formats with metadata due to the overhead.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/manpages/virsh.rst
include/libvirt/libvirt-domain.h
src/libvirt-domain.c
tools/virsh-domain.c