How to convert KVM File img .raw to .img

yum install qemu-img
qemu-img convert -f raw -O qcow2 /home/filename.raw /home/filename.qcow2
qemu-img convert /home/filename.qcow2 -O raw filename.img