Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start QEMU error: qemu: could not load PC BIOS 'bios-256k.bin'' #90

Open
DanniellaL opened this issue Nov 16, 2020 · 1 comment
Open

Comments

@DanniellaL
Copy link

DanniellaL commented Nov 16, 2020

When I start qemu with the command: virsh define xmlexample.xml, then I met the error:
Unable to complete install: 'internal error: process exited while connecting to monitor: qemu: could not load PC BIOS 'bios-256k.bin''

I find the related files, and none of them is link file:
/root/kvm-vmi/qemu/pc-bios/bios-256k.bin
/usr/share/seabios/bios-256k.bin
/usr/local/share/qemu/bios-256k.bin

I tried to use qemu args to set bios directory,while the error is still exist:
xml file details:

qemu:commandline
<qemu:arg value='-L'/>
<qemu:arg value='/usr/local/share/qemu/'/>
<qemu:arg value='-chardev'/>
<qemu:arg value='socket,path=/tmp/introspector,id=chardev0,reconnect=10'/>
<qemu:arg value='-object'/>
<qemu:arg value='introspection,id=kvmi,chardev=chardev0'/>
</qemu:commandline>
0_ubuntu
2048
2048
2

hvm








<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>

/usr/local/bin/qemu-system-x86_64

![1111](https://user-images.githubusercontent.com/26668150/99237244-2be80080-2833-11eb-98ee-59e3343128fd.jpg)
@rob-scheepens
Copy link

rob-scheepens commented Jun 17, 2024

I got a similar error:

[root@N-0106-1-D ~]# virsh start 558506d7-f422-481e-8a55-eb8c9c3b41d9
error: Failed to start domain '558506d7-f422-481e-8a55-eb8c9c3b41d9'
error: internal error: qemu unexpectedly closed the monitor: qemu: could not load PC BIOS '/usr/share/qemu/pc-bios/bios-256k.bin'

I tried adding loader to the xml like this:

    <type arch='x86_64' machine='pc'>hvm</type>
    <loader>/usr/share/qemu/pc-bios/bios-256k.bin</loader>
    <boot dev='hd'/>

The error remains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants