Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BskM0-0007O3-HN for qemu-devel@nongnu.org; Thu, 05 Aug 2004 11:40:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BskLz-0007Nr-1B for qemu-devel@nongnu.org; Thu, 05 Aug 2004 11:40:28 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BskLy-0007No-Rm for qemu-devel@nongnu.org; Thu, 05 Aug 2004 11:40:26 -0400 Received: from [194.105.28.94] (helo=iv.ro) by monty-python.gnu.org with smtp (Exim 4.34) id 1BskHT-0008Qj-7j for qemu-devel@nongnu.org; Thu, 05 Aug 2004 11:35:47 -0400 Date: Thu, 5 Aug 2004 18:35:47 +0300 From: Jani Monoses Message-Id: <20040805183547.723efc4f.jani@iv.ro> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Thu__5_Aug_2004_18_35_47_+0300_pVO_vnPRtyP0wX5r" Subject: [Qemu-devel] fix ide detection with raw images 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 This is a multi-part message in MIME format. --Multipart=_Thu__5_Aug_2004_18_35_47_+0300_pVO_vnPRtyP0wX5r Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit This change makes files passed to -hda be detected again with current CVS Jani --Multipart=_Thu__5_Aug_2004_18_35_47_+0300_pVO_vnPRtyP0wX5r Content-Type: text/x-diff; name=",ide.diff" Content-Disposition: attachment; filename=",ide.diff" Content-Transfer-Encoding: 7bit Index: hw/ide.c =================================================================== RCS file: /cvsroot/qemu/qemu/hw/ide.c,v retrieving revision 1.26 diff -u -r1.26 ide.c --- hw/ide.c 25 Jun 2004 14:54:19 -0000 1.26 +++ hw/ide.c 5 Aug 2004 15:33:53 -0000 @@ -1655,10 +1655,9 @@ break; default: case 7: - if ((!ide_if[0].bs && !ide_if[1].bs) || - (s != ide_if && !s->bs)) + if (!ide_if[0].bs && !ide_if[1].bs) ret = 0; else ret = s->status; --Multipart=_Thu__5_Aug_2004_18_35_47_+0300_pVO_vnPRtyP0wX5r--