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.
Created attachment 1260721[details]
x86 boot menu
Description of problem:
Can not pick out the boot device when guest with emulated SCSI CD-ROM' , 'SCSI hard disk' and 'pass through SCSI disk'
Version-Release number of selected component (if applicable):
kernel version:
kernel-3.10.0-568.el7.ppc64le
qemu-kvm version:
qemu-kvm-rhev-2.8.0-4.el7.ppc64le
guest version:
kernel-3.10.0-568.el7.ppc64
How reproducible:
100%
Steps to Reproduce:
1.Boot a guest
eg:
/usr/libexec/qemu-kvm \
-name rhel7-11904 \
-M pseries-rhel7.4.0 \
-m 16G \
-nodefaults \
-smp 8 \
-boot menu=on,order=cd \
-device VGA,id=vga0,addr=0 \
-device nec-usb-xhci,id=xhci \
-device usb-tablet,id=usb-tablet0 \
-device usb-kbd,id=usb-kbd0 \
-device spapr-vscsi,id=scsi0,reg=0x1000 \
-drive file=/home/hyx/os/RHEL-7.3-20161019.0-Server-ppc64-dvd1.iso,if=none,media=cdrom,readonly=on,id=image0 \
-device scsi-cd,bus=scsi0.0,id=scsi-cd0,drive=image0,channel=0,scsi-id=0,lun=0,bootindex=1 \
-drive file=/dev/sdk,if=none,id=virtio-scsi2-id1,cache=none,snapshot=off,format=raw,aio=native \
-device scsi-disk,scsi-id=0,channel=1,lun=1,drive=virtio-scsi2-id1,bootindex=2 \
-drive file=/home/hyx/image/RHEL7-11904-1-20G.qcow2,format=qcow2,if=none,cache=none,id=drive-scsi-0 \
-device scsi-hd,bus=scsi0.0,id=scsi-blk0,drive=drive-scsi-0,channel=0,scsi-id=0,lun=1,bootindex=0 \
-netdev tap,id=hostnet0,script=/etc/qemu-ifup \
-device virtio-net-pci,netdev=hostnet0,id=virtio-net-pci0,mac=70:e2:84:14:0e:00 \
-monitor stdio \
-serial unix:./sock0,server,nowait \
-qmp tcp:0:6000,server,nowait \
-vnc :0
2.Enter F12 into boot menu
Actual results:
Welcome to Open Firmware
Copyright (c) 2004, 2011 IBM Corporation All rights reserved.
This program and the accompanying materials are made available
under the terms of the BSD License available at
http://www.opensource.org/licenses/bsd-license.php
Select boot device:
1. /vdevice/v-scsi@1000/disk@8001000000000000: /vdevice/v-scsi@1000/disk@8001000000000000
2. /vdevice/v-scsi@1000/disk@8000000000000000: /vdevice/v-scsi@1000/disk@8000000000000000
3. /vdevice/v-scsi@1000/disk@8001000000000000: /vdevice/v-scsi@1000/disk@8001000000000000
Expected results:
The boot device should be show clearly and friendly.
Additional info:
The attachment is X86 boot menu that could tell user how to select the boot device clearly.
The step of verification is same as comment 0.
Version of verification:
host: 3.10.0-693.2.1.el7.ppc64le
qemu: qemu-kvm-rhev-2.9.0-16.el7_4.8.ppc64le
SLOF: SLOF-20170724-2.git89f519f.el7.noarch
Actual results:
SLOF **********************************************************************
QEMU Starting
Build Date = Oct 9 2017 02:32:33
FW Version = mockbuild@ release 20170724
Press "s" to enter Open Firmware.
Press F12 for boot menu.
Populating /vdevice methods
Populating /vdevice/v-scsi@1000
SCSI: Looking for devices
8001000000000000 DISK : "QEMU QEMU HARDDISK 2.5+"
8000000000000000 CD-ROM : "QEMU QEMU CD-ROM 2.5+"
Populating /vdevice/vty@71000000
Populating /vdevice/nvram@71000001
Populating /pci@800000020000000
00 0000 (D) : 1234 1111 qemu vga
00 0800 (D) : 1033 0194 serial bus [ usb-xhci ]
00 1000 (D) : 1af4 1000 virtio [ net ]
Installing QEMU fb
Scanning USB
XHCI: Initializing
USB Keyboard
No console specified using screen & keyboard
Welcome to Open Firmware
Copyright (c) 2004, 2017 IBM Corporation All rights reserved.
This program and the accompanying materials are made available
under the terms of the BSD License available at
http://www.opensource.org/licenses/bsd-license.php
Select boot device (or press '0' to abort):
1) cdrom : /vdevice/v-scsi@1000/disk@8000000000000000
2) disk : /vdevice/v-scsi@1000/disk@8001000000000000
3) net : /pci@800000020000000/ethernet@2
It is clearly to show each device name, so this bug is fixed, then change the status to verified.
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://access.redhat.com/errata/RHBA-2018:0820