[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCH v4 07/10] s390-ccw: read stage2 boot loader data
From: |
Thomas Huth |
Subject: |
Re: [qemu-s390x] [PATCH v4 07/10] s390-ccw: read stage2 boot loader data to find menu |
Date: |
Fri, 26 Jan 2018 10:50:12 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 |
On 25.01.2018 16:49, Collin L. Walling wrote:
> On 01/25/2018 10:25 AM, Thomas Huth wrote:
>> On 23.01.2018 19:26, Collin L. Walling wrote:
>>> Read the stage2 boot loader data block-by-block. We scan the
>>> current block for the string "zIPL" to detect the start of the
>>> boot menu banner. We then load the adjacent blocks (previous
>>> block and next block) to account for the possibility of menu
>>> data spanning multiple blocks.
>>>
>>> Signed-off-by: Collin L. Walling <address@hidden>
>>> ---
>>> pc-bios/s390-ccw/bootmap.c | 94
>>> +++++++++++++++++++++++++++++++++++++++++++---
>>> pc-bios/s390-ccw/bootmap.h | 1 +
>>> pc-bios/s390-ccw/menu.c | 5 +++
>>> pc-bios/s390-ccw/menu.h | 1 +
>>> 4 files changed, 96 insertions(+), 5 deletions(-)
>> Looks good to me now!
>>
>> Reviewed-by: Thomas Huth <address@hidden>
>>
> Thanks! The only change I plan on is moving the Stage1b struct declaration
> to this patch, as per your suggestion on another patch review.
Sure, feel free to keep my R-b in that case, too.
Thomas
- Re: [qemu-s390x] [Qemu-devel] [PATCH v4 04/10] s390-ccw: update libc, (continued)
[qemu-s390x] [PATCH v4 06/10] s390-ccw: set up interactive boot menu parameters, Collin L. Walling, 2018/01/23
[qemu-s390x] [PATCH v4 05/10] s390-ccw: parse and set boot menu options, Collin L. Walling, 2018/01/23
[qemu-s390x] [PATCH v4 07/10] s390-ccw: read stage2 boot loader data to find menu, Collin L. Walling, 2018/01/23
[qemu-s390x] [PATCH v4 09/10] s390-ccw: read user input for boot index via the SCLP console, Collin L. Walling, 2018/01/23
[qemu-s390x] [PATCH v4 10/10] s390-ccw: interactive boot menu for scsi, Collin L. Walling, 2018/01/23
[qemu-s390x] [PATCH v4 08/10] s390-ccw: print zipl boot menu, Collin L. Walling, 2018/01/23