I gave this series a spin, along a custom QEMU, and `supermin` from Git,
for my `libguestfs-test-tool` itself fails with:
"Could not open option rom 'linuxboot_dma.bin': No such file or
directory"
How I went about:
(1) Build QEMU with
https://lists.gnu.org/archive/html/qemu-devel/2016-01/msg05891.html
-- Add optionrom compatible with fw_cfg DMA version
Build QEMU with the above patch:
$ w3m
https://patchwork.ozlabs.org/patch/575578/mbox \
add-optionrom-compatible-with-fw_cfg-DMA-version.patch
$
git am -3 \
~/add-optionrom-compatible-with-fw_cfg-DMA-version.patch
# sudo dnf builddep qemu -y
$ ~/src/qemu/configure --target-list=x86_64-softmmu
$ make -j4
(2) Build 'supermin' from Git
(3) Build 'libguestfs' from Rich's fork
https://github.com/rwmjones/libguestfs/commits/master/
Configure libguestfs (from Rich's fork) with `supermin` built from
Git in step (2):
$ SUPERMIN=~/src/supermin/src/supermin ./configure
$ ./bootstrap && ./autogen.sh && make
Compile libguestfs:
$ ./autogen.sh
$ make -j22
(4) Use the QEMU built in step (1), build and run the 'boot-analysis'
program from libguestfs test suite:
$ export LIBGUESTFS_HV=$HOME/build/qemu-build/x86_64-softmmu/qemu-system-x86_64
$ make -C tests/qemu boot-analysis
$ ./run tests/qemu/boot-analysis -v
One and a half minute passes, nothing is printed on the screen. . .
Okay, let's try 'libguestfs-test-tool' (untruncated output attached), it
fails with:
-------------------------------------
[...]
Could not open option rom 'linuxboot_dma.bin': No such file or directory
\x1b[1;256r\x1b[256;256H\x1b[6n
Google, Inc.
Serial Graphics Adapter 11/03/11
SGABIOS $Id$ (pbonzini(a)yakj.usersys.redhat.com) Thu Nov 3 13:33:51 UTC 2011
Term: 80x24
4 0
\x1b[2J
SeaBIOS (version
rel-1.9.1-0-gb3ef39f-prebuilt.qemu-project.org)
Booting from Hard Disk...
Boot failed: not a bootable disk
-------------------------------------
Rich: What am I missing here?
--
/kashyap