Need to convert a raw image to qcow2

I have a raw image (dd) of a windows xp box for legacy. I want to convert it to qcow2 now that I have the virtio drivers installed.
is there a way to do this to the image in opennebula .

Hello, search in google for qemu-img raw to qcow2. You can first create new qcow2 image in opennebula and them using qemu-img convert raw to qcow2 to that excatly image created by opennebula.

Probably, when you upload raw image do qcow2 datastore this is done on background…