On 02/04/2011 03:58 PM, Jan Kiszka wrote:
> when i run my kernel image with qemu-kvm it gives emulation error failure > trying to execute the code outside ROM or RAM at fec00000(IO APIC base address) > but the same code runs fine with qemu. can anyone please point me > where might be the problem or how to find out this one?
Please post the error message.
Start with capturing the activity of you guest via ftrace, enabling all kvm:* events. You may also try to attach gdb to qemu and analyze the different code path in both versions (specifically if you have debugging symbols for your guest).
The easy way to do that is trace-cmd (http://lwn.net/Articles/341902/): $ trace-cmd record -e kvm -b 20000 ... ^C $ trace-cmd report -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html