Bug 1752838
Summary: | Boot order does not work when using OVMF | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Michael <choma> |
Component: | edk2 | Assignee: | Virtualization Maintenance <virt-maint> |
Status: | CLOSED NOTABUG | QA Contact: | Michael <choma> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 8.1 | CC: | berrange, chayang, coli, jinzhao, juzhang, kraxel, lersek, pbonzini, philmd, yfu |
Target Milestone: | rc | ||
Target Release: | 8.0 | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-09-17 11:48:02 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: |
Description
Michael
2019-09-17 11:12:49 UTC
Sorry for missing edk2 version. The version of edk2 was: edk2-ovmf-20190308git89910a39dcfd-6.el8.noarch Hi Michael, the "-boot order" and "-boot once" options are unsupported -- and unsupportable -- for setting the boot order with OVMF. For setting a boot order, you must use "bootindex=N" properties, attached to individual "-device" options. Libvirt correctly generates the required bootindex properties on the QEMU command line. And not just when the domain XML specifies per-device <boot order='N'/> elements, but also when the domain XML uses the -- now obsolete -- high-level elements <boot dev='hd|...'/> That's the desired behavior. Please refer to bug 1323085 for details. If the "-boot order" or "-boot once" option is used in the RHEL8 edk2 test plan (RHEL-133831?), then please update the test plan as well, to "-device xxxx,bootindex=N". ... I've now quickly searched the test plan in Polarion for "-boot". It looks like RHEL-133831 does not use any problematic "-boot" option. I assume you are currently developing the new test case RHEL-133831 (in connection to bug 1561128), and attempted to use "-boot order" and/or "-boot once". Please don't do that. In total, I see the following options used, across the whole test plan: * "-boot menu=(on|off)" -- this is correct; it's supported. (It may not work exactly like in SeaBIOS, but it does something similar.) * "-boot splash-time=<msecs>" -- same as above. * "-boot strict=..." -- this has no effect / it is unsupported; OVMF always behaves as if "-boot strict=on" were specified. OVMF supports only "-boot menu" and "-boot splash-time". The behavior of "-boot XXX" options is firmware specific, and OVMF supports only these two. Please see also the comments (in Polarion) that I had attached, in June / July 2016, to test case RHEL7-56230 ("[OVMF] Verify Boot Option Support under UEFI environment"). I'm closing this report as NOTABUG now. Thanks, Laszlo |