KVM-VMI / kvm-vmi

KVM-based Virtual Machine Introspection
https://kvm-vmi.github.io/kvm-vmi/master/
314 stars 60 forks source link

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

Open DanniellaL opened 4 years ago

DanniellaL commented 4 years ago

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:

0_ubuntu 2048 2048 2 hvm destroy restart destroy /usr/local/bin/qemu-system-x86_64

1111

rob-scheepens commented 5 months ago

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.