On 4/15/26 10:19, Peter Krempa via Devel wrote:
> From: Peter Krempa <[email protected]>
> 
> If a qcow2 image uses a 'data-file' on a local block device we can still
> honour VIR_DOMAIN_BLOCK_RESIZE_CAPACITY but use the capacity of the
> data-file instead.
> 
> The code is modified to first pick the virStorageSource which we'll
> probe for size based on the config of the VM and uses to determine the
> new size.
> 
> Resolves: https://redhat.atlassian.net/browse/RHEL-155809
> Signed-off-by: Peter Krempa <[email protected]>
> ---
>  src/qemu/qemu_driver.c | 49 ++++++++++++++++++++++++++----------------
>  1 file changed, 30 insertions(+), 19 deletions(-)
> 

Reviewed-by: Michal Privoznik <[email protected]>

Michal

Reply via email to