Detect and resize root partition on QEMU
This will detect and resize the partition inside the QEMU and resize it.
To increase the size of the partition you simply increase the size of the image using truncate -s +200M /path/to/qemu.img
for example and then start QEMU