Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 388039

Summary: app-emulation/qemu-kvm-0.15.1 missing bios
Product: Gentoo Linux Reporter: Tomáš Chaloupka <chalucha>
Component: New packagesAssignee: Gentoo QEMU Project <qemu+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aklhfex, floppym, marduk, proteuss, shiningarcanine
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 388457    
Bug Blocks:    

Description Tomáš Chaloupka 2011-10-21 20:43:03 UTC
I just updated qemu-kvm from 0.15.0 to 0.15.1 and after starting my Windows 7 Guest I got an error:

qemu: could not load PC BIOS 'bios.bin'

I looked to the directory /usr/share/qemu, there are some bioses but no bios.bin

I noticed that update installs new package - seabios - and there is bios.bin in its /usr/share/seabios directory so I made the symlink to qemu directory and quest than boots normally.

I am using virt-manager-0.9.0-r1 with libvirt-0.9.6 to manage guests

I don't know for sure if this is a bug, but it seems to me that it is.

Reproducible: Always

Steps to Reproduce:
1.Install latest qemu-kvm
2.Start guest
3.
Comment 1 Clemens Noss 2011-10-22 11:02:02 UTC
dosym: two arguments needed

change the ebuild like this:
--- /usr/portage/app-emulation/qemu-kvm/qemu-kvm-0.15.1.ebuild~ 2011-10-21 14:01:04.000000000 -0500
+++ /usr/portage/app-emulation/qemu-kvm/qemu-kvm-0.15.1.ebuild  2011-10-22 05:54:41.638739382 -0500
@@ -271,7 +271,7 @@
        # Remove SeaBIOS since we're using the SeaBIOS packaged one
        rm "${D}/usr/share/qemu/bios.bin"
        insinto /usr/share/qemu
-       dosym ../seabios/bios.bin
+       dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
 }
 
 pkg_postinst() {
Comment 2 Mike Gilbert gentoo-dev 2011-10-24 04:35:40 UTC
*** Bug 388289 has been marked as a duplicate of this bug. ***
Comment 3 Martin Dummer 2011-10-25 15:03:44 UTC
I can confirm the bug and that the solution makes it work again.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2011-10-25 17:07:18 UTC

*** This bug has been marked as a duplicate of bug 388457 ***