On Tue, 2013-02-12 at 10:34 +0000, Ian Campbell wrote:
Lastly to change the seabios bits, just change to tools/firmware/seabios-dir (assuming Fedora's packaging hasn't moved it) and git fetch/git reset/vim/emacs, the build system won't clobber this unless you ask it to. Then to rebuild: rm tools/firmware/hvmloader/seabios.o \ tools/firmware/seabios-dir/out/bios.bin \ tools/firmware/hvmloader/roms.inc make -C tools/firmware
The standard way to rebuild Fedora packages is 'fedpkg clone' (which is just a helper around 'git clone', then 'fedpkg local' to build them.
Fedora applies a patch to use a prebuilt bios.bin from their SeaBIOS package instead of a build from within the Xen build tree; I've hacked that further to set SEABIOS_ROM=/home/dwmw2/git/seabios/out/bios.bin instead. Then 'make' in the tools/firmware/hvmloader directory, check with 'strings' that my own build is actually in there, and add the firmware_override line to the config as you suggested.
There is no change in behaviour; I still get 35 seconds of 'Daemon running with PID xxxx' and then it exits. I've enabled both debug-port *and* serial debug (at 0x3f8) in my SeaBIOS build.