From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] ignore reads to the EOI register. Date: Thu, 27 Mar 2008 10:18:54 +0200 Message-ID: <47EB586E.3090002@qumranet.com> References: <12065794361493-git-send-email-gcosta@redhat.com> Reply-To: qemu-devel@nongnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net, glommer@gmail.com, qemu-devel@nongnu.org, macro@linux-mips.org To: Glauber Costa Return-path: In-Reply-To: <12065794361493-git-send-email-gcosta@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.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