From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lvxsj-0003Bv-RW for qemu-devel@nongnu.org; Mon, 20 Apr 2009 14:06:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lvxse-00039u-FW for qemu-devel@nongnu.org; Mon, 20 Apr 2009 14:06:12 -0400 Received: from [199.232.76.173] (port=47661 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lvxse-00039o-4R for qemu-devel@nongnu.org; Mon, 20 Apr 2009 14:06:08 -0400 Received: from e32.co.us.ibm.com ([32.97.110.150]:39229) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lvxsd-0007SB-Hh for qemu-devel@nongnu.org; Mon, 20 Apr 2009 14:06:07 -0400 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e32.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n3KI31M3014552 for ; Mon, 20 Apr 2009 12:03:01 -0600 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n3KI634K026796 for ; Mon, 20 Apr 2009 12:06:03 -0600 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n3KI62N7002143 for ; Mon, 20 Apr 2009 12:06:02 -0600 Message-ID: <49ECB992.8040108@us.ibm.com> Date: Mon, 20 Apr 2009 14:06:10 -0400 From: Beth Kon MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Fix non-ACPI Timer Interrupt Routing References: <49E3D91E.40208@us.ibm.com> <01bd01c9bcd3$3aaedef0$b00c9cd0$@com> <49E49BAD.70309@us.ibm.com> <01c201c9bd11$2a48d640$7eda82c0$@com> <49E4B77E.8000601@us.ibm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: bochs-developers@lists.sourceforge.net, eswierk@aristanetworks.com Sebastian Herbszt wrote: > Beth Kon wrote: >> This is part of a bigger change for QEMU, incorporating irq0->inti2 >> override for ACPI, and non-ACPI, driven by addition of the HPET. It >> required BIOS changes as well as QEMU changes to route irq0 to inti2 >> of the IOAPIC. This patch alone is not complete. I have tested the >> complete solution in QEMU, thus the guards. > > I just tested qemu r7185 with bochs bios (without your patch) and used > a Linux Do you mean you used a bochs bios that doesn't include #ifdef BX_QEMU portions? Then it wouldn't work because QEMU overrides irq0->inti2 in its ioapic code and without the matching bios that notifies the guest of the override, boots would likely fail. This change was put in because of the needs of the HPET, but now it is standard procedure for QEMU. With or without HPET, QEMU will override irq0->inti2. If you mean that you used a QEMU Bochs (with ifdef BX_QEMU included), please let me know what kind of errors you are seeing. > 2.6.27.7 guest (openSUSE-11.1-NET-i586.iso). If i don't misunderstand you > this change is only needed with HPET. I have tested the following > configurations > which all fail: > > hpet enabled, no guest kernel parameters > hpet enabled, guest kernel with acpi=off > hpet disabled, no guest kernel parameters > hpet disabled, guest kernel with acpi=off > > Since it even fails with HPET disabled, this change can't only be > needed for HPET, can it? > > Ed: Have you tried your Linux guest with HPET enabled or disabled in > your original report / patch? > > - Sebastian > > >