Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 671924

Summary: sys-firmware/edk2-ovmf installed, but virt-manager doesn't use that location
Product: Gentoo Linux Reporter: Jerrod Frost <jcfrosty>
Component: Current packagesAssignee: Matthias Maier <tamiko>
Status: RESOLVED INVALID    
Severity: trivial CC: joost.ruis, virtualization
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jerrod Frost 2018-11-26 01:53:24 UTC
https://forums.gentoo.org/viewtopic-t-1066336-start-0.html

it appears virt-manager looks for the edk2-ovmf firmware in /usr/share/OVMF and gentoo installs the firmware in /usr/share/edk2-ovmf.

would it be possible to change the install location or have the ebuild add a softlink of OVMF pointing to edk2-ovmf for the simplicity of it being more turnkey?

Thanks
Comment 1 Matthias Maier gentoo-dev 2018-12-26 03:15:25 UTC
Add the following lines to /etc/libvirt/qemu.conf

  nvram = [                                                                        
    "/usr/share/edk2-ovmf/OVMF_CODE.fd:/usr/share/edk2-ovmf/OVMF_VARS.fd"          
  ]

and virt-manager should happily pick up the configuration. This is currently only documented in the gentoo readme of sys-firmware/edk2-ovmf