From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HVcFp-0002UQ-L8 for qemu-devel@nongnu.org; Sun, 25 Mar 2007 19:36:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HVcFo-0002Rx-Ar for qemu-devel@nongnu.org; Sun, 25 Mar 2007 19:36:05 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVcFo-0002Rr-79 for qemu-devel@nongnu.org; Sun, 25 Mar 2007 18:36:04 -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 1HVcDc-0001cl-IZ for qemu-devel@nongnu.org; Sun, 25 Mar 2007 19:33:48 -0400 Date: Mon, 26 Mar 2007 00:30:13 +0100 From: Thiemo Seufer Subject: Re: [Qemu-devel] [PATCH] Implement Win32 locking in vl.c (create_pidfile). Message-ID: <20070325233013.GA25268@networkno.de> References: <20070323231014.GR26700@lios> <20070325213533.GC7023@networkno.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070325213533.GC7023@networkno.de> 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 Thiemo Seufer wrote: > 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. osdep.c, that is, only a tiny bit was for osdep.h. :-) Thiemo