From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCQ1t-000683-03 for qemu-devel@nongnu.org; Fri, 14 Sep 2012 03:09:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCQ1n-0001yE-BE for qemu-devel@nongnu.org; Fri, 14 Sep 2012 03:09:32 -0400 Received: from mail-we0-f173.google.com ([74.125.82.173]:62364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCQ1n-0001y7-4Y for qemu-devel@nongnu.org; Fri, 14 Sep 2012 03:09:27 -0400 Received: by weyz53 with SMTP id z53so2129064wey.4 for ; Fri, 14 Sep 2012 00:09:26 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <5052D822.4040107@redhat.com> Date: Fri, 14 Sep 2012 09:09:22 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 24/25] Add a fallback bios file search, if -L fails. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jason Baron Cc: aliguori@us.ibm.com, juzhang@redhat.com, mst@redhat.com, jan.kiszka@siemens.com, qemu-devel@nongnu.org, agraf@suse.de, yamahata@valinux.co.jp, alex.williamson@redhat.com, kevin@koconnor.net, avi@redhat.com, mkletzan@redhat.com, lcapitulino@redhat.com, afaerber@suse.de, armbru@redhat.com Il 13/09/2012 22:12, Jason Baron ha scritto: > If -L is specified, and qemu does not find the bios file in , then > the search fails. Add infrastructure such that the search will continue in > the default paths, if not found in the -L path. > > Signed-off-by: Jason Baron What is this useful for? > +static char *__qemu_find_file(int type, const char *name, const char *dir) No __ names in userspace, use qemu_find_file_in_dir. Paolo