From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lkn8J-0007kK-0U for qemu-devel@nongnu.org; Fri, 20 Mar 2009 18:24:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lkn8D-0007k5-4l for qemu-devel@nongnu.org; Fri, 20 Mar 2009 18:24:05 -0400 Received: from [199.232.76.173] (port=42939 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lkn8C-0007k2-TC for qemu-devel@nongnu.org; Fri, 20 Mar 2009 18:24:00 -0400 Received: from mailout.artfiles.de ([80.252.97.80]:44796) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lkn8C-0006O8-Iy for qemu-devel@nongnu.org; Fri, 20 Mar 2009 18:24:00 -0400 Received: from [77.128.70.196] (helo=[192.168.0.4]) auth=rr@bttr-software.de by mailout.artfiles.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) id 1Lkn88-0006FC-M2 for qemu-devel@nongnu.org; Fri, 20 Mar 2009 23:23:57 +0100 Message-ID: <49C4177B.7080405@bttr-software.de> Date: Fri, 20 Mar 2009 23:23:55 +0100 From: Robert Riebisch MIME-Version: 1.0 Subject: Re: [Qemu-devel] r6677 broke access to physical FDD on Win32 References: <49C16D71.7020104@bttr-software.de> <49C41240.8030102@codemonkey.ws> In-Reply-To: <49C41240.8030102@codemonkey.ws> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Anthony Liguori wrote: > block-raw-win32.c:raw_getlength(): > > case FTYPE_HARDDISK: A floppy disk drive is hard disk? > status = DeviceIoControl(s->hfile, IOCTL_DISK_GET_DRIVE_GEOMETRY_EX, > NULL, 0, &dg, sizeof(dg), &count, NULL); > if (status != 0) { > l = dg.DiskSize; > } > break; > Looking at the code, perhaps you should be saying -fda //./a. "-fda //./a" fails, but "-fda //./a:" works for the stable branch. It does NOT work for original qemu-0.10.0.tar.gz. Now we "just" need to allow the old syntax. :-) Robert Riebisch -- BTTR Software http://www.bttr-software.de/