[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCH v8 13/13] s390-ccw: interactive boot menu for sc
From: |
Thomas Huth |
Subject: |
Re: [qemu-s390x] [PATCH v8 13/13] s390-ccw: interactive boot menu for scsi |
Date: |
Thu, 22 Feb 2018 07:34:22 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 21.02.2018 20:35, Collin L. Walling wrote:
> Interactive boot menu for scsi. This follows a similar procedure
> as the interactive menu for eckd dasd. An example follows:
>
> s390x Enumerated Boot Menu.
>
> 3 entries detected. Select from index 0 to 2.
>
> Signed-off-by: Collin L. Walling <address@hidden>
> Reviewed-by: Thomas Huth <address@hidden>
> ---
> hw/s390x/ipl.c | 1 +
> pc-bios/s390-ccw/bootmap.c | 4 ++++
> pc-bios/s390-ccw/main.c | 1 +
> pc-bios/s390-ccw/menu.c | 14 ++++++++++++++
> pc-bios/s390-ccw/s390-ccw.h | 1 +
> 5 files changed, 21 insertions(+)
>
> diff --git a/hw/s390x/ipl.c b/hw/s390x/ipl.c
> index a0f4f40..566248e 100644
> --- a/hw/s390x/ipl.c
> +++ b/hw/s390x/ipl.c
> @@ -238,6 +238,7 @@ static void s390_ipl_set_boot_menu(S390IPLState *ipl)
> *flags |= QIPL_FLAG_BM_OPTS_ZIPL;
> return;
> }
> + case S390_IPL_TYPE_QEMU_SCSI:
> break;
It's not a real bug, but I'm pretty sure this will cause Coverity to
report an issue of unintended switch-case fall through. Could you please
add a break before the new case label?
(Since all other patches look fine to me, this could maybe also be fixed
when the patches are picked up, so no need to respin the whole patch
series just because of this)
Thomas
- Re: [qemu-s390x] [PATCH v8 04/13] s390-ccw: update libc, (continued)
- [qemu-s390x] [PATCH v8 10/13] s390-ccw: read user input for boot index via the SCLP console, Collin L. Walling, 2018/02/21
- [qemu-s390x] [PATCH v8 11/13] s390-ccw: set cp_receive mask only when needed and consume pending service irqs, Collin L. Walling, 2018/02/21
- [qemu-s390x] [PATCH v8 06/13] s390-ccw: parse and set boot menu options, Collin L. Walling, 2018/02/21
- [qemu-s390x] [PATCH v8 07/13] s390-ccw: set up interactive boot menu parameters, Collin L. Walling, 2018/02/21
- [qemu-s390x] [PATCH v8 03/13] s390-ccw: refactor IPL structs, Collin L. Walling, 2018/02/21
- [qemu-s390x] [PATCH v8 09/13] s390-ccw: print zipl boot menu, Collin L. Walling, 2018/02/21
- [qemu-s390x] [PATCH v8 13/13] s390-ccw: interactive boot menu for scsi, Collin L. Walling, 2018/02/21
- Re: [qemu-s390x] [PATCH v8 13/13] s390-ccw: interactive boot menu for scsi,
Thomas Huth <=
- [qemu-s390x] [PATCH v8 05/13] s390-ccw: move auxiliary IPL data to separate location, Collin L. Walling, 2018/02/21
- Re: [qemu-s390x] [PATCH v8 00/13] Interactive Boot Menu for DASD and SCSI Guests on s390x, Christian Borntraeger, 2018/02/22
- Re: [qemu-s390x] [PATCH v8 00/13] Interactive Boot Menu for DASD and SCSI Guests on s390x, Viktor Mihajlovski, 2018/02/22
- Re: [qemu-s390x] [PATCH v8 00/13] Interactive Boot Menu for DASD and SCSI Guests on s390x, Collin L. Walling, 2018/02/22
- Re: [qemu-s390x] [PATCH v8 00/13] Interactive Boot Menu for DASD and SCSI Guests on s390x, Christian Borntraeger, 2018/02/22
- Re: [qemu-s390x] [Qemu-devel] [PATCH v8 00/13] Interactive Boot Menu for DASD and SCSI Guests on s390x, Collin L. Walling, 2018/02/22
- Re: [qemu-s390x] [Qemu-devel] [PATCH v8 00/13] Interactive Boot Menu for DASD and SCSI Guests on s390x, Collin L. Walling, 2018/02/22
- Re: [qemu-s390x] [Qemu-devel] [PATCH v8 00/13] Interactive Boot Menu for DASD and SCSI Guests on s390x, Thomas Huth, 2018/02/23