First, please search the forum before posting. Somebody (always "new member") asks this question every few days.
First, if you have any PCIe devices passed in to the VM, then all VM memory must be pinned at startup to avoid issues with DMA...
You know, there is a thing called a "cross compiler" where you compile on a PC for a foreign target. This is very popular in the embedded space because most embedded chips are slow and have limited resources compared with a PC. If you do that...