[SLOF] [PATCH] Fix ugly boot menu if devices have been specified with bootindex

Thomas Huth thuth at redhat.com
Wed Apr 5 18:15:36 AEST 2017


On 05.04.2017 10:12, Nikunj A Dadhania wrote:
> Thomas Huth <thuth at redhat.com> writes:
> 
>> If the user has started with some devices that have the bootindex
>> parameter set, these devices show up in a very ugly way in the boot
>> menu of SLOF. For example, if you start QEMU with:
>>
>>  qemu-system-ppc64 ... -boot menu=on -device spapr-vscsi,id=scsi0 \
>>   -drive file=distro.iso,if=none,media=cdrom,readonly=on,id=img0 \
>>   -device scsi-cd,drive=img0,bootindex=1
> 
> From distant memory, I understand that "-boot" and bootindex are
> mutually exclusive.

That's "-boot order=...", but not "-boot strict=..." or "-boot menu=on".
So AFAICT "-boot menu=on" should still work if you specify some devices
with "bootindex", too.

 Thomas



More information about the SLOF mailing list