From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JprxG-0000cV-VT for qemu-devel@nongnu.org; Sat, 26 Apr 2008 17:29:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JprxF-0000b5-70 for qemu-devel@nongnu.org; Sat, 26 Apr 2008 17:29:10 -0400 Received: from [199.232.76.173] (port=38846 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JprxF-0000ap-1J for qemu-devel@nongnu.org; Sat, 26 Apr 2008 17:29:09 -0400 Received: from mail.codesourcery.com ([65.74.133.4]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JprxE-0007wo-DM for qemu-devel@nongnu.org; Sat, 26 Apr 2008 17:29:08 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [4261] Errors while registering ioports are not fatal (Glauber Costa). Date: Sat, 26 Apr 2008 22:29:02 +0100 References: <200804262154.06555.paul@codesourcery.com> <48139A27.2030601@codemonkey.ws> In-Reply-To: <48139A27.2030601@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804262229.03035.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org > > If you configure two devices with the same IO port I'd expect writes to > > go to one or both of them, or cause a CPU fault. Just like when you have > > overlapping memory ranges. The device doesn't suddenly disappear in a > > puff of smoke because the OS assigned overlapping IO ranges. > > The issue isn't the guest OS assigning overlapping IO regions. The > issues is that some devices (like IDE), register ioports directly > independently of PCI regions. This is a device bug. They shouldn't do that. This is exactly the "manual configuring of IO regions" you mentioned. Paul