|
From: | Dave |
Subject: | absolute firmware path made relocatable in qemu 5.2.0 |
Date: | Tue, 12 Jan 2021 18:05:49 +0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |