Bug 1321317

Summary: OVMF UEFI firmware does not work with libvirt
Product: [Community] Virtualization Tools Reporter: Esa Varemo <esa>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: crobinso, dyuan, esa, lmen, rbalakri, shyu
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-07 23:41:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
libvirt vm1 XML (does not work)
none
libvirt vm2 XML (does not work)
none
qemu start script (works)
none
virt-manager screenshot, tianocore screen
none
virt-manager screenshot, cursor
none
qemu screenshot, works none

Description Esa Varemo 2016-03-25 12:45:49 UTC
Description of problem:

I have installed the edk2.git-ovmf firmware according to instructions on https://fedoraproject.org/wiki/Using_UEFI_with_QEMU

The firmware is picked up by virt-manager but virtual machines created using it are not usable. Firmware works with QEMU


Version-Release number of selected component (if applicable):

libvirt-1.3.2-3.fc23.x86_64
qemu-kvm-2.5.0-10.fc23.x86_64
edk2.git-ovmf-x64-0-20160324.b1635.gf0bbcdf.noarch


How reproducible:
Always


Steps to Reproduce:
1. Install OVMF firmware repo & package
2. Create a new UEFI VM using virt-manager
3. Boot said VM

Actual results:

When booted the VMs show the tianocore splash/memory checked screen followed by a black screen with a cursor.


Expected results:

VM should show an EFI shell or boot the attached installation media.

Comment 1 Esa Varemo 2016-03-25 12:46:36 UTC
Created attachment 1140305 [details]
libvirt vm1 XML (does not work)

Comment 2 Esa Varemo 2016-03-25 12:47:02 UTC
Created attachment 1140306 [details]
libvirt vm2 XML (does not work)

Comment 3 Esa Varemo 2016-03-25 12:47:32 UTC
Created attachment 1140307 [details]
qemu start script (works)

Comment 4 Esa Varemo 2016-03-25 12:48:14 UTC
Created attachment 1140308 [details]
virt-manager screenshot, tianocore screen

Comment 5 Esa Varemo 2016-03-25 12:48:39 UTC
Created attachment 1140309 [details]
virt-manager screenshot, cursor

Comment 6 Esa Varemo 2016-03-25 12:49:17 UTC
Created attachment 1140310 [details]
qemu screenshot, works

Comment 7 Cole Robinson 2016-04-07 22:56:26 UTC
Are you still seeing this? It's working fine for me with f23 default packages. Make sure the edk2 bits are fully up to date... since they track edk2 upstream sometimes they are temporarily broken

Comment 8 Cole Robinson 2016-04-07 23:41:28 UTC
I think it was the same temporary issue reported here:

https://bugzilla.redhat.com/show_bug.cgi?id=1321390

and that user claims it's fixed now, so closing this one. Please reopen if you're still hitting issues