qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC] gPXE fw_cfg file interface support


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [RFC] gPXE fw_cfg file interface support
Date: Fri, 29 Jan 2010 10:06:23 +0000

On Wed, Jan 27, 2010 at 10:15 AM, Gerd Hoffmann <address@hidden> 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.  You will
>> need to manually
>> "chain fw_cfg:genroms/file".
>
> That should be changed too IMHO.  qemu needs some kind of new switch, so 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 you
> can easily have qemu guests netboot from somewhere without any local
> pxe/tftp setup, like this:
>
>  qemu -fw-file gpxe/default=bko.gpxe
>
> with bko.gpxe being:
>
>  #!gpxe
>  dhcp net0
>  set 209:string pxelinux.cfg/default
>  set 210:string http://boot.kernel.org/bko/
>  chain 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]