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

2010-02-07 Thread Shao Miller
Gerd Hoffmann wrote: ...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 That looks a bit like: # qemu -kernel gpxe.lkrn -initrd bko.gpxe -hda /dev/null which might be useful iff the *.lkrn build

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

2010-01-29 Thread Stefan Hajnoczi
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.  You will >> need to manually >> "chain fw_cfg:genroms/file". > > That should be changed too IMHO

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

2010-01-27 Thread Gerd Hoffmann
gPXE> imgfetch fw_cfg:genroms/static.gpxe Neat idea. On the qemu side we better shouldn't abuse the -option-rom switch though as seabios will try to load these files as option roms. Note that this patch only adds the fw_cfg file interface mechanism, it does not automatically probe for a sp

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

2010-01-27 Thread Stefan Hajnoczi
This patch makes it possible for gPXE under QEMU/KVM to fetch files from the host using the fw_cfg file interface. This means gPXE in the guest can fetch an exposed file from the host without using networking. I believe this feature will be useful to management software so that network boot confi