From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=47604 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pm8I4-0001xg-S4 for qemu-devel@nongnu.org; Sun, 06 Feb 2011 12:20:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pm8I3-0001vh-8H for qemu-devel@nongnu.org; Sun, 06 Feb 2011 12:20:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:65236) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pm8I2-0001vU-Tz for qemu-devel@nongnu.org; Sun, 06 Feb 2011 12:20:47 -0500 Message-ID: <4D4ED860.2060109@redhat.com> Date: Sun, 06 Feb 2011 19:20:32 +0200 From: Avi Kivity MIME-Version: 1.0 References: <4D4C0613.9050309@siemens.com> In-Reply-To: <4D4C0613.9050309@siemens.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [SeaBIOS] IO APIC emulation failure with qemu-kvm List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka , Ravi Kumar Kulkarni Cc: seabios@seabios.org, qemu-devel@nongnu.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org 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