From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EFZMX-0004HQ-9O for qemu-devel@nongnu.org; Wed, 14 Sep 2005 11:39:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EFZMS-0004FZ-Pd for qemu-devel@nongnu.org; Wed, 14 Sep 2005 11:39:51 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EFZMR-0004DG-Pg for qemu-devel@nongnu.org; Wed, 14 Sep 2005 11:39:48 -0400 Received: from [128.8.10.163] (helo=po1.wam.umd.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EFZMR-00024C-QB for qemu-devel@nongnu.org; Wed, 14 Sep 2005 11:39:47 -0400 Received: from jbrown.mylinuxbox.org (jma-box.student.umd.edu [129.2.253.219]) by po1.wam.umd.edu (8.12.10/8.12.10) with ESMTP id j8EFdjrT028677 for ; Wed, 14 Sep 2005 11:39:45 -0400 (EDT) Date: Wed, 14 Sep 2005 11:39:43 -0400 From: "Jim C. Brown" Subject: Re: [Qemu-devel] Real hard disk drive for Win2k/XP host Message-ID: <20050914153943.GA6838@jbrown.mylinuxbox.org> References: <005a01c5b8de$373f1a20$0464a8c0@athlon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <005a01c5b8de$373f1a20$0464a8c0@athlon> 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 On Wed, Sep 14, 2005 at 12:41:39PM +0900, Kazu wrote: > Hi, > > This patch supports a real hard disk drive by \\.\PhysicalDriveN > (N=0,1,2,...) on Windows 2000/XP host. Windows 98/Me are not supported. > You can also use slash like //./PhysicalDriveN. You can see a number in > Administration Tools in Control Panel. This is not case-sensitive. It is > necessary to have an administrative priviledge.This can be used like this. > > >qemu.exe -L .\bios -hda win2k.img -hdb \\.\PhysicalDrive0 > I don't see any code for this in your patch. AFAIK qemu supports this already. > This patch also adds a size information about CD-ROM. > It breaks non-Windows hosts. get_size() should only be called when running on Windows and when size == -1. Also, it is always a bad idea to have a filesystem used by both the host and the guest OS (unless they both can see it read-only).