Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1688596 - edk2-ovmf-ia32 is missing OVMF_VARS [NEEDINFO]
Summary: edk2-ovmf-ia32 is missing OVMF_VARS
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: edk2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paolo Bonzini
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-14 04:50 UTC by Philippe Troin
Modified: 2019-03-15 17:26 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
crobinso: needinfo? (puiterwijk)


Attachments (Terms of Use)

Description Philippe Troin 2019-03-14 04:50:16 UTC
Description of problem:
edk2-ovmf-ia32 does not provide the OVMF_VARS* files (nvram variables and signature).
This prevents qemu or libvirt from creating a 32bit UEFI instance.

Version-Release number of selected component (if applicable):
edk2-ovmf-ia32-20180815gitcb5f4f45ce-6.fc30.noarch
Also present in F29.

How reproducible:
Always

Steps to Reproduce:
1. Launch a libvirt instance with UEFI i686 BIOS.

Actual results:
VM creation fails at:
Unable to complete install: 'Failed to open file '/usr/share/edk2/ovmf-ia32/OVMF_VARS.fd': No such file or directory'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 2122, in _do_async_install
    guest.installer_instance.start_install(guest, meter=meter)
  File "/usr/share/virt-manager/virtinst/installer.py", line 415, in start_install
    doboot, transient)
  File "/usr/share/virt-manager/virtinst/installer.py", line 358, in _create_guest
    domain = self.conn.createXML(install_xml or final_xml, 0)
  File "/usr/lib64/python3.7/site-packages/libvirt.py", line 3718, in createXML
    if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirt.libvirtError: Failed to open file '/usr/share/edk2/ovmf-ia32/OVMF_VARS.fd': No such file or directory

Comment 1 Cole Robinson 2019-03-15 17:26:39 UTC
Indeed it seems like we aren't generating ia32 ovmf vars in the rpm build. Patrick, is this just an oversight or does qemu-ovmf-secureboot need extending?


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