With this simple command your can convert raw img to qcow2:
qemu-img convert -f raw -O qcow2 <source>.img <destination>.qcow2
and then edit your virtual domain XML file and replace type="img" with type="qcow2" and update the disk file name.
Done. 🙂