From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NankL-0004ML-T7 for qemu-devel@nongnu.org; Fri, 29 Jan 2010 05:06:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NankF-0004Ho-Ci for qemu-devel@nongnu.org; Fri, 29 Jan 2010 05:06:36 -0500 Received: from [199.232.76.173] (port=44698 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NankF-0004Hd-0b for qemu-devel@nongnu.org; Fri, 29 Jan 2010 05:06:31 -0500 Received: from mx20.gnu.org ([199.232.41.8]:65196) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NankD-000428-8b for qemu-devel@nongnu.org; Fri, 29 Jan 2010 05:06:29 -0500 Received: from mail-bw0-f212.google.com ([209.85.218.212]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NankB-0006dc-0X for qemu-devel@nongnu.org; Fri, 29 Jan 2010 05:06:27 -0500 Received: by bwz4 with SMTP id 4so1685532bwz.2 for ; Fri, 29 Jan 2010 02:06:24 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <4B601224.2030803@redhat.com> References: <4B601224.2030803@redhat.com> Date: Fri, 29 Jan 2010 10:06:23 +0000 Message-ID: Subject: Re: [Qemu-devel] [RFC] gPXE fw_cfg file interface support From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: gpxe , qemu-devel@nongnu.org On Wed, Jan 27, 2010 at 10:15 AM, Gerd Hoffmann wrote: >> Note that this patch only adds the fw_cfg file interface mechanism, it >> does not >> automatically probe for a special file when gPXE starts. =A0You will >> need to manually >> "chain fw_cfg:genroms/file". > > That should be changed too IMHO. =A0qemu needs some kind of new switch, s= o you > can place the firmware file into some other virtual directory where gpxe > could look by default, i.e. something like "fw_cfg:gpxe/default". Then yo= u > can easily have qemu guests netboot from somewhere without any local > pxe/tftp setup, like this: > > =A0qemu -fw-file gpxe/default=3Dbko.gpxe > > with bko.gpxe being: > > =A0#!gpxe > =A0dhcp net0 > =A0set 209:string pxelinux.cfg/default > =A0set 210:string http://boot.kernel.org/bko/ > =A0chain http://boot.kernel.org/bko/pxelinux.0 That sounds good. I will send out a new patch which fetches fw_cfg:gpxe/default on startup. Stefan