Bug 2312032 - edk2-ovmf-xen does not boot [NEEDINFO]
Summary: edk2-ovmf-xen does not boot
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: edk2
Version: 40
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Paolo Bonzini
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-12 21:22 UTC by Demi Marie Obenour
Modified: 2025-05-20 19:45 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-05-20 19:45:32 UTC
Type: Bug
Embargoed:
kraxel: needinfo? (m.a.young)


Attachments (Terms of Use)

Description Demi Marie Obenour 2024-09-12 21:22:55 UTC
Description of problem:
Fedora 40’s edk2-ovmf-xen doesn’t boot the Fedora 40 ISO.

Version-Release number of selected component (if applicable):
edk2-20240813-1.fc40.src.rpm

How reproducible:
100%

Steps to Reproduce:
1. Try to boot a Xen VM with firmware set to /usr/share/edk2/xen/OVMF.fd.
2. Wait for output in the graphical console.

Actual results:
Nothing

Expected results:
Works with a UEFI-capable OS, such as Fedora 40.

Additional info:

Comment 1 Gerd Hoffmann 2024-09-13 11:37:50 UTC
Is this a regression?
Can you attach your guest configuration?

Comment 2 Demi Marie Obenour 2024-10-05 21:58:03 UTC
Regression: not sure, I didn’t check older versions.
Guest configurations: I tried several configurations and was not able to get anything working.  Do you have a working version?

Comment 3 Gerd Hoffmann 2024-11-04 15:37:06 UTC
this works for me:

type = 'hvm'
name = 'fedora-uefi-base'
firmware = 'ovmf'

vcpus = 2
memory = 4096

hdtype = 'ahci'
disk = [
  'disk/fedora-uefi.qcow2,qcow2,xvda,w',
  'iso/Fedora-Server-dvd-x86_64-40-1.14.iso,raw,hdc:cdrom,r'
]

vif = [
  'mac=78:00:75:65:66:69,bridge=br0'
]

vga = 'stdvga'
vnc = 1
vnclisten = '0.0.0.0'

Comment 4 Gerd Hoffmann 2024-11-27 12:26:32 UTC
Hmm, while debugging another issue I've noticed that this works:

   firmware = 'ovmf'

but this does not:

   firmware = '/usr/share/edk2/xen/OVMF.fd'

My naive expectation is that the former is just a shortcut for the latter,
but apparently that is not the case ...

Michael?

While being at it:  Does the libvirt xen driver support using ovmf?
https://libvirt.org/drvxen.html has no hints to offer, and the libvirt
import (virsh domxml-from-native xen-xl $config.xl) ignores the
'firmware' line.

Comment 5 Aoife Moloney 2025-04-28 13:47:46 UTC
This message is a reminder that Fedora Linux 40 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 40 on 2025-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '40'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 40 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 6 Aoife Moloney 2025-05-20 19:45:32 UTC
Fedora Linux 40 entered end-of-life (EOL) status on 2025-05-13.

Fedora Linux 40 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


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