From: Gerd Hoffmann <kraxel@redhat.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: gpxe <gpxe@etherboot.org>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [RFC] gPXE fw_cfg file interface support
Date: Wed, 27 Jan 2010 11:15:00 +0100 [thread overview]
Message-ID: <4B601224.2030803@redhat.com> (raw)
In-Reply-To: <fbd9d3991001270142xbb792b5u4b70356434e024c5@mail.gmail.com>
> 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 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
cheers,
Gerd
next prev parent reply other threads:[~2010-01-27 10:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-27 9:42 [Qemu-devel] [RFC] gPXE fw_cfg file interface support Stefan Hajnoczi
2010-01-27 10:15 ` Gerd Hoffmann [this message]
2010-01-29 10:06 ` Stefan Hajnoczi
2010-02-08 2:23 ` [gPXE] " Shao Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B601224.2030803@redhat.com \
--to=kraxel@redhat.com \
--cc=gpxe@etherboot.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).