Anyone have qemu working on a rockpro 64? I've basked done an export of a ubuntu container and copied it to the rockpro. When I attempt to execute even say bash I get an error:
#sudo qemu-x86_64-static -cpu kvm64 -L /opt/ubuntu/lib64 ./bash
/lib64/ld-linux-x86-64.so.2: No such file or directory
Any ideas?
03-19-2019, 08:39 PM
(This post was last modified: 03-20-2019, 05:37 PM by nislaco23.)
Should work fine, Ive used it before and it works on other Linux dev-boards. Try installing qemu via package manager to get all system targets installed. Keep in mind its an ARM board and KVM on ARM will only work/help with ARM based OS Android, Linux, Windows 10 for ARM. However you will need to use Aarch64 qemu target not x86_64 to utilize KVM on ARM.
With ARM you can only use TCG to accelerate i386 x86 or 64 bit x86 guests, by using more vcpus/cores. I recommend using i386 qemu as guest target on ARM in my experience using x64_x86 qemu on ARM is less stable than x86_i386 qemu in general due to memory management models being different for these targets and what an ARM host can provide.
64 bit OS could work fine but there are memory management issues using 64 x86 bit host on ARM in general = TCG wont have proper multi core support. This can easily be seen even in single core 32 bit workloads, IE the game Full Throttle will crash in Win98 guest on ARM but using qemu x86_64 but this error will not occur not qemu x86_32 bit. On x86 hosts there is usually a clear benefit to using x64 bit qemu over i386 but not on ARM unless specifically needed. IE Win98 Starcraft Diablo etc work fine but if there is a limit to what you can due to binary translation.