Bug 1321317 - OVMF UEFI firmware does not work with libvirt
Summary: OVMF UEFI firmware does not work with libvirt
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-25 12:45 UTC by Esa Varemo
Modified: 2016-04-07 23:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-07 23:41:28 UTC


Attachments (Terms of Use)
libvirt vm1 XML (does not work) (3.80 KB, text/plain)
2016-03-25 12:46 UTC, Esa Varemo
no flags Details
libvirt vm2 XML (does not work) (4.00 KB, text/plain)
2016-03-25 12:47 UTC, Esa Varemo
no flags Details
qemu start script (works) (1.11 KB, application/x-shellscript)
2016-03-25 12:47 UTC, Esa Varemo
no flags Details
virt-manager screenshot, tianocore screen (29.55 KB, image/png)
2016-03-25 12:48 UTC, Esa Varemo
no flags Details
virt-manager screenshot, cursor (25.02 KB, image/png)
2016-03-25 12:48 UTC, Esa Varemo
no flags Details
qemu screenshot, works (17.04 KB, image/png)
2016-03-25 12:49 UTC, Esa Varemo
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.