I am planning to move all VM’s running on bare metal server with Proxmox VE to the LXD based solution. Only concern I have is the ability to properly run Proxmox VM’s saved in QCOW2 format. Because I don’t have spare hardware to properly test it, I am not sure with the procedure. Do I need to export QCOW2 images to the RAW format?
qemu-img convert -f qcow2 -O raw /path/to/disk.qcow2 /path/to/disk.raw
And then create LXD VM, create new disk in storage pool and configure new VM to use converted qcow2 disk as new / disk? Or is the procedure different?
You can also do it in one command: sudo ./bin.linux.lxd-migrate.x86_64 --name v1 --type vm --source "/path/to/disk.qcow2" --non-interactive --conversion=format --config security.csm=true --config security.secureboot=false
Rather than using raw.qemu (which isnt supported and might stop working in future versions of LXD due to qemu version changes), you can use security.csm=true combined with security.secureboot=false. This enables the seabios boot mode.