From: Cornelia Huck <cohuck@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: "Collin L. Walling" <walling@linux.vnet.ibm.com>,
borntraeger@de.ibm.com, frankja@linux.vnet.ibm.com,
qemu-s390x@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [qemu-s390x] [PATCH v1 4/5] s390-ccw: interactive boot menu for eckd dasd
Date: Tue, 28 Nov 2017 13:45:28 +0100 [thread overview]
Message-ID: <20171128134528.699488bf.cohuck@redhat.com> (raw)
In-Reply-To: <d007f7af-f15e-105c-7859-13b7141cf260@redhat.com>
On Tue, 28 Nov 2017 13:36:38 +0100
Thomas Huth <thuth@redhat.com> wrote:
> On 27.11.2017 21:55, Collin L. Walling wrote:
> > +static int zipl_boot_menu(block_number_t s1b_block_nr)
> > +{
> > + void *stage2_data, *menu_offset;
> > +
> > + read_stage2(s1b_block_nr, &stage2_data);
> > + menu_offset = stage2_data;
> > +
> > + /* Menu banner starts with "zIPL" */
> > + while (menu_offset < stage2_data + STAGE2_MAX_SIZE - 4) {
> > + if (magic_match(menu_offset, ZIPL_MAGIC_EBCDIC)) {
> > + return menu_get_zipl_boot_index(menu_offset);
> > + }
> > + menu_offset++;
> > + }
> > +
> > + panic("\n! No menu data found !\n");
>
> Maybe remove the initial exclamation mark?
It does match the other panics in the code, though.
>
> > + /* should not reach here */
> > + return 0;
> > +}
next prev parent reply other threads:[~2017-11-28 12:45 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-27 20:55 [Qemu-devel] [PATCH v1 0/5] (FIXED) Interactive Boot Menu for DASD and SCSI Guests on s390x Collin L. Walling
2017-11-27 20:55 ` [Qemu-devel] [PATCH v1 1/5] s390-ccw: update libc.h Collin L. Walling
2017-11-28 10:45 ` Cornelia Huck
2017-11-28 15:36 ` [Qemu-devel] [qemu-s390x] " Collin L. Walling
2017-11-28 11:32 ` Thomas Huth
2017-11-27 20:55 ` [Qemu-devel] [PATCH v1 2/5] s390-ccw: ipl structs for eckd cdl/ldl Collin L. Walling
2017-11-28 10:48 ` Cornelia Huck
2017-11-28 15:42 ` [Qemu-devel] [qemu-s390x] " Collin L. Walling
2017-11-28 16:41 ` Cornelia Huck
2017-11-27 20:55 ` [Qemu-devel] [PATCH v1 3/5] s390-ccw: parse and set boot menu options Collin L. Walling
2017-11-28 11:04 ` Cornelia Huck
2017-11-28 16:00 ` [Qemu-devel] [qemu-s390x] " Collin L. Walling
2017-11-28 11:45 ` Thomas Huth
2017-11-28 16:02 ` Collin L. Walling
2017-11-29 22:28 ` David Hildenbrand
2017-11-29 22:33 ` Collin L. Walling
2017-11-30 15:52 ` David Hildenbrand
2017-11-30 16:05 ` Cornelia Huck
2017-11-27 20:55 ` [Qemu-devel] [PATCH v1 4/5] s390-ccw: interactive boot menu for eckd dasd Collin L. Walling
2017-11-28 12:36 ` [Qemu-devel] [qemu-s390x] " Thomas Huth
2017-11-28 12:45 ` Cornelia Huck [this message]
2017-11-28 16:31 ` Collin L. Walling
2017-11-27 20:55 ` [Qemu-devel] [PATCH v1 5/5] s390-ccw: interactive boot menu for scsi Collin L. Walling
2017-11-28 10:35 ` [Qemu-devel] [PATCH v1 0/5] (FIXED) Interactive Boot Menu for DASD and SCSI Guests on s390x Cornelia Huck
2017-11-28 16:35 ` [Qemu-devel] [qemu-s390x] " Collin L. Walling
2017-11-28 16:42 ` Cornelia Huck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171128134528.699488bf.cohuck@redhat.com \
--to=cohuck@redhat.com \
--cc=borntraeger@de.ibm.com \
--cc=frankja@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-s390x@nongnu.org \
--cc=thuth@redhat.com \
--cc=walling@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.