- You need to convert the qcow2 image to raw
qemu-img convert -O raw guest.img guest.raw
- Then resize the raw file
qemu-img resize guest.raw 3G
- Then convert it back to qcow2
qemu-img convert -O qcow2 -o compat=0.10 guest.raw guest.img
- Then run the guest and resize your file system