From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KtOjv-0006tc-5M for qemu-devel@nongnu.org; Fri, 24 Oct 2008 11:38:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KtOjt-0006sm-I1 for qemu-devel@nongnu.org; Fri, 24 Oct 2008 11:38:14 -0400 Received: from [199.232.76.173] (port=38069 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtOjt-0006sP-6V for qemu-devel@nongnu.org; Fri, 24 Oct 2008 11:38:13 -0400 Received: from mail.codesourcery.com ([65.74.133.4]:54322) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KtOjr-0006dt-Ks for qemu-devel@nongnu.org; Fri, 24 Oct 2008 11:38:11 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [5524] Fix windows build after migration changes Date: Fri, 24 Oct 2008 16:37:59 +0100 References: <4901E355.8070306@bttr-software.de> <4901E5AC.6010906@codemonkey.ws> In-Reply-To: <4901E5AC.6010906@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810241638.00364.paul@codesourcery.com> 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 Friday 24 October 2008, Anthony Liguori wrote: > Robert Riebisch wrote: > > Anthony Liguori wrote: > >> That would be great. I don't know that we want to go on the current > >> directory though. There's a Windows API for finding Program Files. > >> That's probably what we want to do. > > > > Why do you want to look for "Program Files" instead? Just let QEMU > > determine its own folder via GetModuleFileName() and look there for the > > BIOS files. > > That's not the same as CWD and is probably the right thing to do. We could also do the same thing for Linux et al. Paul