From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HVaRz-0003do-Iu for qemu-devel@nongnu.org; Sun, 25 Mar 2007 17:40:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HVaRx-0003d6-WC for qemu-devel@nongnu.org; Sun, 25 Mar 2007 17:40:31 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVaRx-0003d0-SI for qemu-devel@nongnu.org; Sun, 25 Mar 2007 16:40:29 -0500 Received: from phoenix.bawue.net ([193.7.176.60] helo=mail.bawue.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HVaPm-0005OD-La for qemu-devel@nongnu.org; Sun, 25 Mar 2007 17:38:14 -0400 Date: Sun, 25 Mar 2007 22:35:33 +0100 Subject: Re: [Qemu-devel] [PATCH] Implement Win32 locking in vl.c (create_pidfile). Message-ID: <20070325213533.GC7023@networkno.de> References: <20070323231014.GR26700@lios> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070323231014.GR26700@lios> From: Thiemo Seufer Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Carlos O'Donell Cc: qemu-devel@nongnu.org Carlos O'Donell wrote: > > The following patch implements Win32 locking for vl.c (create_pidfile). > Builds for mingw32, and tested on a Windows Server 2003 host by running > two qemu's with the same -pidfile option. > > When cross-compiling the use of --enable-mingw32 should effect AIOLIBS, > otherwise the build will use "-lrt" and this is not valid when compiling > with mingw32. > > Patch attached for both. Built on linux and tested on Windows Server > 2003. > > Comments? Please include me in the CC. I renamed it to qemu_create_pidfile and moved it to osdep.h. I hope that has all necessary includes. Please test. Thiemo