From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H8cvd-0007kV-AW for qemu-devel@nongnu.org; Sun, 21 Jan 2007 08:40:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H8cvc-0007jU-46 for qemu-devel@nongnu.org; Sun, 21 Jan 2007 08:40:12 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H8cvb-0007jK-BC for qemu-devel@nongnu.org; Sun, 21 Jan 2007 08:40:11 -0500 Received: from [66.249.82.237] (helo=wx-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H8cva-0003CA-Sl for qemu-devel@nongnu.org; Sun, 21 Jan 2007 08:40:11 -0500 Received: by wx-out-0506.google.com with SMTP id i30so1663014wxd for ; Sun, 21 Jan 2007 05:40:09 -0800 (PST) Message-ID: From: "Mike Smith" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_161266_12837263.1169386809355" Subject: [Qemu-devel] QEMU hard disks don't set ERR on reading a nonexistent sector Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 21 Jan 2007 13:40:13 -0000 To: qemu-devel@nongnu.org ------=_Part_161266_12837263.1169386809355 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I was adding error detection to my OS's IDE driver, and noticed that when I read a non-existent sector, say 0xDEADBEEF on a 20MB hard disk image, ERR does not get set in the IDE status register. VMWare and Bochs correctly set this, so I'm pretty sure it's QEMU and not my bad coding. I'm using Linux as host and Popcorn (popcorn-os.sourceforge.net in case you need the code that causes this) as guest. ------=_Part_161266_12837263.1169386809355 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I was adding error detection to my OS's IDE driver, and noticed that when I read a non-existent sector, say 0xDEADBEEF on a 20MB hard disk image, ERR does not get set in the IDE status register. VMWare and Bochs correctly set this, so I'm pretty sure it's QEMU and not my bad coding. I'm using Linux as host and Popcorn ( popcorn-os.sourceforge.net in case you need the code that causes this) as guest.
------=_Part_161266_12837263.1169386809355--