You are not logged in.
Pages: 1
Hi.
Im trying to setup ovmf bios with qemu and libvirt.
using ovmf from here https://www.kraxel.org/repos/jenkins/edk2/
but I cant get anything to boot, I hit the efi shell and can see a few blk devices but not my windows8.iso nor my qcow2 file
below is my config
<domain type='kvm'>
<name>Windows8</name>
<uuid>fe03373d-6c75-472a-a099-17c7e3a31536</uuid>
<memory unit='KiB'>6291456</memory>
<currentMemory unit='KiB'>6291456</currentMemory>
<vcpu placement='static'>4</vcpu>
<os>
<type arch='x86_64' machine='pc-i440fx-2.4'>hvm</type>
<loader readonly='yes' type='pflash'>/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
<nvram>/var/lib/libvirt/qemu/nvram/Windows8_VARS.fd</nvram>
<bootmenu enable='no'/>
</os>
<features>
<acpi/>
<apic/>
<vmport state='off'/>
</features>
<cpu mode='host-model'>
<model fallback='allow'/>
</cpu>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/sbin/qemu-system-x86_64</emulator>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<source file='/var/lib/libvirt/images/Win8.1_Danish_x64.iso'/>
<target dev='hda' bus='ide'/>
<readonly/>
<boot order='1'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' cache='none'/>
<source file='/var/lib/libvirt/images/WIndows8.qcow2'/>
<target dev='hdb' bus='ide'/>
<boot order='2'/>
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
</disk>
<controller type='usb' index='0' model='ich9-ehci1'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x7'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci1'>
<master startport='0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci2'>
<master startport='2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci3'>
<master startport='4'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x2'/>
</controller>
<controller type='pci' index='0' model='pci-root'/>
<controller type='ide' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</controller>
<controller type='scsi' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
</controller>
<interface type='direct'>
<mac address='52:54:00:5a:5a:a2'/>
<source dev='enp4s0' mode='bridge'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<sound model='ich6'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</sound>
<video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
<redirdev bus='usb' type='spicevmc'>
</redirdev>
<redirdev bus='usb' type='spicevmc'>
</redirdev>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</memballoon>
</devices>
</domain>what am I doing wrong?
Last edited by baastrup (2016-01-09 00:21:05)
Offline
Should I use the ovmf from arch or from https://www.kraxel.org/repos/jenkins/edk2/?
Can ovmf vms be boothed with -vga std ot -vga qxl?
Should I use special Windows install images? im just using a 64 bit version.
please help
Offline
Hello,
I've got the same problem. I boot into the "tiancore" efi-shell, but see only the blk0 and blk1 floppy discs.
The arch-ovmf package includes two .bin files (ovmf_x64.bin & ovmf_ia32.bin). But I don't know how to use them.
Can anyone help?
Offline
(No clue about the arch-ovmf package. For end-users, at the moment we recommend using the packages from https://www.kraxel.org/repos/jenkins/edk2/.)
Recently there has been a regression in edk2 that may have caused this issue. The fix should show up in a few days in the RPMs under the above URL. See https://github.com/tianocore/edk2/issues/43. Thanks.
Last edited by lersek (2016-01-19 10:56:35)
Offline
Thx, the packages from https://www.kraxel.org/repos/jenkins/edk2/ have been updatet today.
Offline
Pages: 1