From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [SeaBIOS] IO APIC emulation failure with qemu-kvm Date: Sun, 06 Feb 2011 19:20:32 +0200 Message-ID: <4D4ED860.2060109@redhat.com> References: <4D4C0613.9050309@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: seabios@seabios.org, qemu-devel@nongnu.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org To: Jan Kiszka , Ravi Kumar Kulkarni Return-path: Received: from mx1.redhat.com ([209.132.183.28]:7149 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753200Ab1BFRVK (ORCPT ); Sun, 6 Feb 2011 12:21:10 -0500 In-Reply-To: <4D4C0613.9050309@siemens.com> Sender: kvm-owner@vger.kernel.org List-ID: 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