Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1353494

Summary: [OVMF] "EFI Internal Shell" should be removed from "Boot Manager"
Product: Red Hat Enterprise Linux 7 Reporter: aihua liang <aliang>
Component: ovmfAssignee: Laszlo Ersek <lersek>
Status: CLOSED ERRATA QA Contact: aihua liang <aliang>
Severity: unspecified Docs Contact:
Priority: low    
Version: 7.3CC: chayang, huding, juzhang, meyang, ngu, pingl, shuang, xfu, xutian
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovmf-20160608-3.git988715a.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 08:41:18 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:
Embargoed:
Attachments:
Description Flags
ovmf boot manager menu none

Description aihua liang 2016-07-07 09:46:15 UTC
Created attachment 1177236 [details]
ovmf boot manager menu

Description of problem:

   "EFI Internal Shell" should be removed from "Boot Manager"


Version-Release number of selected component (if applicable):
  kernel version:3.10.0-465.el7.x86_64
  qemu-kvm-rhev version:2.6.0-8.el7.x86_64
  OVMF version:20160608-1.git988715a.el7.noarch

How reproducible:
  100%


Steps to Reproduce:
1.Start guest with qemu-cmds bellow, then press ESC.
/usr/libexec/qemu-kvm -name rhel7-1 \
-machine q35,accel=kvm,usb=off,vmport=off \
-cpu SandyBridge \
-m 4096 \
-realtime mlock=off \
-smp 3 \
-uuid 1534fa42-4818-4493-9f67-eee5ba758385 \
-no-user-config -nodefaults \
-chardev socket,id=qmp_id_catch_monitor,path=/var/tmp/test1,server,nowait \
-mon chardev=qmp_id_catch_monitor,id=monitor,mode=control \
-no-hpet \
-boot menu=on,splash-time=12000,strict=on \
-vga qxl \
-monitor stdio \
-vnc 0:9 \
-netdev tap,id=hostnet10 \
-device virtio-net-pci,netdev=hostnet10,id=net10,mac=50:54:00:49:b2:5f,bootindex=1 \
-spice ipv4,port=4000,disable-ticketing \
-enable-kvm \
-global ICH9-LPC.disable_s3=0 \
-device ahci,id=ahci0 \
-drive file=/usr/share/OVMF/OVMF_CODE.secboot.fd,if=pflash,format=raw,readonly=on \
-drive file=/usr/share/OVMF/OVMF_Client_ne_VARS.fd,if=pflash,format=raw \
-cdrom /usr/share/OVMF/UefiShell.iso \

2.Select "Boot Manager", then enter.

3.Check options under "Boot Manager Menu"


Actual results:
  Three items listed under "Boot Manager Menu".
    UEFI PXEv4(MAC:50540049B25F)
    EFI Internal Shell
    UEFI QEMU DVD-ROM QM00005

  "EFI Internal Shell" exist although not supported any more.
  
Expected results:
  "EFI Internal Shell" should be removed from "Boot Manager Menu".


Additional info:
   Attachment is the captured picture of ovmf boot manager menu.

Comment 3 Laszlo Ersek 2016-07-11 19:52:17 UTC
Posted upstream patch:
http://thread.gmane.org/gmane.comp.bios.edk2.devel/14368

Comment 4 Laszlo Ersek 2016-07-12 17:05:34 UTC
Posted upstream v2 series:
http://thread.gmane.org/gmane.comp.bios.edk2.devel/14464

Comment 5 Laszlo Ersek 2016-07-12 23:07:44 UTC
Upstream commit range a78b518b6edd..2eb358986052.

Comment 6 Laszlo Ersek 2016-07-12 23:13:08 UTC
The backport should include the ArmVirtPkg patch as well (TBD in upstream, see <https://github.com/tianocore/edk2/issues/107>, and it will depend on git commits 4c33f8b190a4..e191a3114f4c).

Comment 7 Laszlo Ersek 2016-07-13 20:48:48 UTC
(In reply to Laszlo Ersek from comment #6)
> The backport should include the ArmVirtPkg patch as well (TBD in upstream,
> see <https://github.com/tianocore/edk2/issues/107>, and it will depend on
> git commits 4c33f8b190a4..e191a3114f4c).

Upstream commit 0e2c6c552990.

Comment 9 Miroslav Rezanina 2016-08-04 11:48:18 UTC
Fix included in ovmf-20160608-3.git988715a.el7

Comment 11 aihua liang 2016-08-08 03:23:22 UTC
Have verified, the problem has been resolved in OVMF-20160608-3.git988715a.el7.noarch

Verify Environment:
 OVMF version: OVMF-20160608-3.git988715a.el7.noarch
 kernel version: 3.10.0-488.el7.x86_64
 qemu version: 2.6.0-14.el7.x86_64

Comment 13 errata-xmlrpc 2016-11-04 08:41:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2608.html