qcow2
and raw
image files can be resized with qemu-image
, for example:
qemu-img resize image.qcow2 50G
Note that the resized image does not extend Linux partitions and that the image should be booted and extended using a LiveISO such as GParted.