From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQ0i0-0004ca-Gh for qemu-devel@nongnu.org; Mon, 04 Aug 2008 10:06:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQ0hz-0004c8-KU for qemu-devel@nongnu.org; Mon, 04 Aug 2008 10:06:47 -0400 Received: from [199.232.76.173] (port=42668 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQ0hz-0004c3-HN for qemu-devel@nongnu.org; Mon, 04 Aug 2008 10:06:47 -0400 Received: from mx20.gnu.org ([199.232.41.8]:39595) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KQ0hz-0001ub-7W for qemu-devel@nongnu.org; Mon, 04 Aug 2008 10:06:47 -0400 Received: from mail2.shareable.org ([80.68.89.115]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQ04D-0002UQ-9C for qemu-devel@nongnu.org; Mon, 04 Aug 2008 09:25:41 -0400 Date: Mon, 4 Aug 2008 14:23:46 +0100 From: Jamie Lokier Subject: Re: [Qemu-devel] [PATCH v2] Fix compilation of nbd on Windows Message-ID: <20080804132346.GA18868@shareable.org> References: <20080704115101.5BC9.20F538E7@nsfocus.com> <1215160927.3802.4.camel@frecb07144> <20080704203231.GB31670@networkno.de> <4895E6CC.6040906@codemonkey.ws> <48962153.5060409@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Cc: Laurent Vivier , chenqing Johannes Schindelin wrote: > > > But then, I do not have a Windows computer myself, so I could not > > > really test QEmu itself. > > > > BTW, QEMU seems to run just fine under wine. Right now I'm building > > with mingw and testing with wine. That seems to be working pretty well. > > In my experience, Wine only shows you so far what works on Windows and > what does not. For example, MingW itself does not run properly in Wine. > At least last time I needed it. Unfortunately, for testing, Wine is also _able_ to run some programs that _don't_ run under Windows. I cross-compiled my unix application using Mingw (GCC for native Windows), and after a few fixes, it was working in Wine. Unfortunately when I came to deliver the program to a real user, it totally failed under Windows XP. In that instance, it was because Wine allocates file descriptors with small numbers (like unix) and Windows allocates large HANDLE values, so my unix-friendly code ran ok under Wine but not under real Windows. The only real test is running it under Windows - I use a virtual machine (KVM) for that. -- Jamie