From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GMaCA-0004WL-Iw for qemu-devel@nongnu.org; Sun, 10 Sep 2006 21:02:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GMaC8-0004Td-RP for qemu-devel@nongnu.org; Sun, 10 Sep 2006 21:02:41 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMaC8-0004TE-Lz for qemu-devel@nongnu.org; Sun, 10 Sep 2006 21:02:40 -0400 Received: from [81.29.64.88] (helo=mail.shareable.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GMaDH-0005e5-Et for qemu-devel@nongnu.org; Sun, 10 Sep 2006 21:03:51 -0400 Received: from mail.shareable.org (localhost [127.0.0.1]) by mail.shareable.org (8.12.11.20060308/8.12.11) with ESMTP id k8B12awG007666 for ; Mon, 11 Sep 2006 02:02:36 +0100 Received: (from jamie@localhost) by mail.shareable.org (8.12.11.20060308/8.12.8/Submit) id k8B0SJuA006459 for qemu-devel@nongnu.org; Mon, 11 Sep 2006 01:28:19 +0100 Date: Mon, 11 Sep 2006 01:28:19 +0100 From: Jamie Lokier Subject: Re: [Qemu-devel] QCOW/QCOW2 for win32 Message-ID: <20060911002819.GA6378@mail.shareable.org> References: <000601c6d244$b9eddb20$0464a8c0@athlon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000601c6d244$b9eddb20$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 Kazu wrote: > Patch. > http://www.h7.dion.ne.jp/~qemu-win/download/qemu-20060906-qcow.patch >> #ifdef QEMU_TOOL >> - overlapped = 0; >> + overlapped = FILE_ATTRIBUTE_NORMAL; >> #else >> overlapped = FILE_FLAG_OVERLAPPED; >> #endif I suspect the second value should be (FILE_ATTRIBUTE_NORMAL | FILE_FLAG_OVERLAPPED). But I'm no Win32 expert. -- Jamie