Построен qemu 2.7.0 на x86_64 Ubuntu 14.04. Запуск aarch64
или arm
гостей неудачно со следующей ошибкой,QEMU build не запускает изображения aarch64 и arm
qemu/build/aarch64-softmmu$ ./qemu-system-aarch64 -M virt -boot d -cdrom ~/debian-8.6.0-arm64-netinst.iso
VNC server running on 127.0.0.1:5900
qemu-system-aarch64: Trying to execute code outside RAM or ROM at 0x0000000008000000
This usually means one of the following happened:
(1) You told QEMU to execute a kernel for the wrong machine type, and it crashed on startup (eg trying to run a raspberry pi kernel on a versatilepb QEMU machine)
(2) You didn't give QEMU a kernel or BIOS filename at all, and QEMU executed a ROM full of no-op instructions until it fell off the end
(3) Your guest kernel has a bug and crashed by jumping off into nowhere
This is almost always one of the first two, so check your command line and that you are using the right type of kernel for this machine.
If you think option (3) is likely then you can try debugging your guest with the -d debug options; in particular -d guest_errors will cause the log to include a dump of the guest register state at this point.
Execution cannot continue; stopping here.
Сервер VNC начинается почти сразу и спайка активности одного процессора около 7 секунд перед гостем tries to execute code outside RAM or ROM at ...
. Гостями являются Debian 8.0 и CentOS 7.
Запросить предложения для решения этой проблемы.
Thank you @Peter. Но, это то же самое, если использовать Debian 8.0 armhf с qemu-system-arm – kesari
Это позволит избежать проблемы с ЦП, но вам все равно нужно предоставить ему либо BIOS, либо ядро. QEMU для целей ARM (в отличие от qemu-system-x86) по умолчанию не запускает образ BIOS и поэтому по умолчанию не сможет вытащить ядро из образа диска для вас. Вы должны либо предоставить образ BIOS (обычно UEFI), либо напрямую передать ядро в QEMU. –
Можете ли вы указать мне ресурсы, которые помогут указать BIOS для qemu? Я смотрю на среду, отличную от UEFI. – kesari