From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXtWy-0003Uy-5Q for qemu-devel@nongnu.org; Fri, 25 May 2012 08:22:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SXtWr-00053f-Su for qemu-devel@nongnu.org; Fri, 25 May 2012 08:22:07 -0400 Received: from cantor2.suse.de ([195.135.220.15]:44864 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXtWr-0004yX-JQ for qemu-devel@nongnu.org; Fri, 25 May 2012 08:22:01 -0400 Message-ID: <4FBF7963.1070604@suse.de> Date: Fri, 25 May 2012 14:21:55 +0200 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1337947621-8610-1-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1337947621-8610-1-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] qemu_find_file: check name as a straight path even if it has no '/' List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Edgar E. Iglesias" Cc: Peter Maydell , Anthony Liguori , qemu-devel@nongnu.org, patches@linaro.org Am 25.05.2012 14:07, schrieb Peter Maydell: > Make qemu_find_file() check for the passed in name as a straight > pathname even if it doesn't have any path separator character in it. > This means that "-bios foo", "-dtb foo" etc will find a file 'foo' > in the current directory. > This removes an inconsistency with -kernel and -initrd, which both > accept plain filenames as meaning files in the current directory. > It's also less confusing for the user than an undocumented restriction > that "this option accepts a filename, except for the special case > where the filename you pass happens not to have a '/' in it, in > which case we'll ignore it." >=20 > Signed-off-by: Peter Maydell Speaking of inconsistencies, I also noticed that the ppc virtex-ml507 machine relies on the .dtb being in the current directory with apparently no way to override. Any chance this can be fixed, Edgar? Maybe it can be unified with the dtb handling on ARM or share the same QemuOpts? Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg