Attempt to boot a guest results in - qemu: could not load PC BIOS 'bios-256k.bin'
Heya,
I built QEMU from this commit:
$ git log | head -2
commit 50809c8b9288a9bfe1fdec926b7ef985608a7ea6
Merge: 4e627ae ae74bbeAnd, attempted to boot a Fedora guest via this QEMU CLI results as below:
$ /usr/local/sbin/qemu-system-x86_64 -s -S -nographic \
-nodefconfig -nodefaults -machine accel=kvm -m 3000 \
-drive file=/var/lib/libvirt/images/Fedora-x86_64-20-20140407-sda.qcow2,if=ide,format=qcow2,cache=none \
-serial stdio
qemu: could not load PC BIOS 'bios-256k.bin'That's the seabios-bin version:
$ rpm -q seabios-bin
seabios-bin-1.7.4-3.fc21.noarchThat's how I build QEMU:
$ git clone git://git.qemu.org/qemu.git
$ mkdir -p ~/build/qemu && cd ~/build/qemu
$ ~/src/qemu/./configure --target-list=x86_64-softmmu \
--disable-werror --enable-debug
$ make -j4Any hints as to why can't QEMU load the BIOS in this case?
Signature · 1 line
/kashyap
Quoted 9 lines · Kashyap Chamarthy
Heya,
I built QEMU from this commit:
$ git log | head -2 commit 50809c8b9288a9bfe1fdec926b7ef985608a7ea6 Merge: 4e627ae ae74bbe
Quoted 8 lines
And, attempted to boot a Fedora guest via this QEMU CLI results as below:
$ /usr/local/sbin/qemu-system-x86_64 -s -S -nographic \ -nodefconfig -nodefaults -machine accel=kvm -m 3000 \ -drive file=/var/lib/libvirt/images/Fedora-x86_64-20-20140407-sda.qcow2,if=ide,format=qcow2,cache=none \ -serial stdio qemu: could not load PC BIOS 'bios-256k.bin'
Pointing to pc-bios sub-directory worked:
$ qemu-system-x86 . . . -L /home/kashyap/tinker-space/qemu-upstream/pc-bios/
(Thanks Rich Jones/Amit.)
Quoted 15 lines
That's the seabios-bin version:
$ rpm -q seabios-bin seabios-bin-1.7.4-3.fc21.noarchThat's how I build QEMU:
$ git clone git://git.qemu.org/qemu.git $ mkdir -p ~/build/qemu && cd ~/build/qemu $ ~/src/qemu/./configure --target-list=x86_64-softmmu \ --disable-werror --enable-debug $ make -j4
Signature · 1 line
/kashyap
Il 08/06/2014 14:18, Kashyap Chamarthy ha scritto:
Quoted 27 lines
Heya,
I built QEMU from this commit:
$ git log | head -2 commit 50809c8b9288a9bfe1fdec926b7ef985608a7ea6 Merge: 4e627ae ae74bbeAnd, attempted to boot a Fedora guest via this QEMU CLI results as below:
$ /usr/local/sbin/qemu-system-x86_64 -s -S -nographic \ -nodefconfig -nodefaults -machine accel=kvm -m 3000 \ -drive file=/var/lib/libvirt/images/Fedora-x86_64-20-20140407-sda.qcow2,if=ide,format=qcow2,cache=none \ -serial stdio qemu: could not load PC BIOS 'bios-256k.bin'That's the seabios-bin version:
$ rpm -q seabios-bin seabios-bin-1.7.4-3.fc21.noarchThat's how I build QEMU:
Quoted 9 lines
$ git clone git://git.qemu.org/qemu.git $ mkdir -p ~/build/qemu && cd ~/build/qemu $ ~/src/qemu/./configure --target-list=x86_64-softmmu \ --disable-werror --enable-debug $ make -j4Any hints as to why can't QEMU load the BIOS in this case?
QEMU's "make install" should have installed the firmware blobs in /usr/share/local/qemu, including bios-256k.bin. Did it?
Paolo
Quoted 1 line · Paolo Bonzini
Il 08/06/2014 14:18, Kashyap Chamarthy ha scritto:
[. . .]
Quoted 3 lines
QEMU's "make install" should have installed the firmware blobs in
/usr/share/local/qemu, including bios-256k.bin. Did it?
Yes it did. I just tested it by providing --prefix=/home/kashyap/install and yes 'bios-256k.bin' _is_ installed:
kashyap@install$ pwd
/home/kashyap/install
kashyap@install$ find . -name bios-256k.bin
./share/qemu/bios-256k.binI see that it's a fairly recent addition[1].
Thanks for your comment.
[1] http://lists.gnu.org/archive/html/qemu-devel/2013-12/msg01612.html
Signature · 1 line
/kashyap