Hi,
Is seem that absolute firmwarepath compilation option is converted to
relocatable in 5.2.0 qemu.
# QEMU configure log Tue 12 Jan 14:46:41 GST 2021
# Configured with: '../configure' '--prefix=/usr'
'--sysconfdir=/etc/qemu' '--disable-bochs'
'*--firmwarepath=/usr/share/qemu:/usr/share/qemu-firmware*'
#
And trying to run the executable
bash-5.1# ./qemu-system-x86_64
qemu: could not load PC BIOS 'bios-256k.bin'
If i print out the resultant binary paths
bash-5.1# ./qemu-system-x86_64 -L help
/root/qemu/../share/qemu
/root/qemu/../share/qemu-firmware
So there is no way to have a absolute path for firmware /bios and all
qemu's that we test need to be at the right directory nesting to find
firmware, bios etc or else they all need their own duplicate firmware
files. Firmware path needs to honor the absolute paths i believe.
Comments ?
Dave