Booting hvm from IMG file

What is the proper way of booting HVM from img file? I try qvm-create from img file copied to dom0 (is ruining qvm-create safe?) but it always fails since size of the image is never exact 10GB. On previous installation I have some success by copying img file to root-fs of qube using dd (but I think it might be not a safe way i there is some vulnerability in dd, also it is time consuming method). Best solution which I found is installing ventoy on xvda using ventoy.iso, then boot with some live distro and copy img file to ventoy partition. But this is also time consuming and not straightforward way.