On 11.12.2013, at 15:07, Peter Maydell <peter.mayd...@linaro.org> wrote: > But these are (emulated) ROMs, not an emulated bootloader. > They ought to work like actual ROMs: QEMU as the emulator > of the system/devices provides the contents of physical address > space; KVM as the emulator of the CPU provides a CPU which > doesn't start up executing from rubbish in its icache. (This matches > how a real physical CPU executes its first instruction by really > going out to the ROM, not by looking at its cache.)
For ppce500 machine, Qemu calls load_uimage2()/load_elf() effectively loading the image at address 0 instead of handling it as a raw blob. We do not run yet a bootloader inside the VM. -Mike