From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JenKX-00032Q-0G for qemu-devel@nongnu.org; Thu, 27 Mar 2008 04:19:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JenKV-00032B-Vv for qemu-devel@nongnu.org; Thu, 27 Mar 2008 04:19:24 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JenKV-000328-P1 for qemu-devel@nongnu.org; Thu, 27 Mar 2008 04:19:23 -0400 Received: from bzq-179-150-194.static.bezeqint.net ([212.179.150.194] helo=il.qumranet.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JenKV-0001g8-FR for qemu-devel@nongnu.org; Thu, 27 Mar 2008 04:19:23 -0400 Message-ID: <47EB586E.3090002@qumranet.com> Date: Thu, 27 Mar 2008 10:18:54 +0200 From: Avi Kivity MIME-Version: 1.0 References: <12065794361493-git-send-email-gcosta@redhat.com> In-Reply-To: <12065794361493-git-send-email-gcosta@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] ignore reads to the EOI register. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Glauber Costa Cc: kvm-devel@lists.sourceforge.net, glommer@gmail.com, qemu-devel@nongnu.org, macro@linux-mips.org Glauber Costa wrote: > They seem legal in real hardware, even though the EOI > is a write-only register. By "legal" I mean they are completely > ignored, but at least, don't cause any bits to be set at ESR. > > Without this patch, some (very recent) linux git trees will fail > to boot in i386. > > This is generated from kvm-userspace, but should apply well to > plain qemu too. > > Applied, but perhaps a patch to linux to avoid reads to write-only registers is needed as well. -- error compiling committee.c: too many arguments to function