From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:56828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0r49-0001gt-1e for qemu-devel@nongnu.org; Mon, 04 Mar 2019 12:07:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h0r48-0006Au-8x for qemu-devel@nongnu.org; Mon, 04 Mar 2019 12:07:49 -0500 Date: Mon, 4 Mar 2019 18:07:42 +0100 From: Cornelia Huck Message-ID: <20190304180742.486c8994.cohuck@redhat.com> In-Reply-To: <1551466776-29123-6-git-send-email-jjherne@linux.ibm.com> References: <1551466776-29123-1-git-send-email-jjherne@linux.ibm.com> <1551466776-29123-6-git-send-email-jjherne@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 05/16] s390-bios: Factor finding boot device out of virtio code path List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Jason J. Herne" Cc: qemu-devel@nongnu.org, qemu-s390x@nongnu.org, pasic@linux.ibm.com, alifm@linux.ibm.com, borntraeger@de.ibm.com, Thomas Huth On Fri, 1 Mar 2019 13:59:25 -0500 "Jason J. Herne" wrote: > Make a new routine find_boot_device to locate the boot device for all > cases, not just virtio. > > The error message for the case where no boot device has been specified > and a suitable boot device cannot be auto detected was specific to > virtio devices. We update this message to remove virtio specific wording. ...and, consequently, need to tweak the serial output boot test. > > Signed-off-by: Jason J. Herne > Reviewed-by: Farhan Ali > --- > pc-bios/s390-ccw/main.c | 85 ++++++++++++++++++++++++++---------------------- > tests/boot-serial-test.c | 2 +- > 2 files changed, 47 insertions(+), 40 deletions(-) > (...) > - IPL_assert(found, "No virtio device found"); > + IPL_assert(found, "Boot device not found\n"); You change the output in the bios here... (...) > diff --git a/tests/boot-serial-test.c b/tests/boot-serial-test.c > index 58a48f3..9daf2cb 100644 > --- a/tests/boot-serial-test.c > +++ b/tests/boot-serial-test.c > @@ -112,7 +112,7 @@ static testdef_t tests[] = { > { "sparc", "SS-4", "", "MB86904" }, > { "sparc", "SS-600MP", "", "TMS390Z55" }, > { "sparc64", "sun4u", "", "UltraSPARC" }, > - { "s390x", "s390-ccw-virtio", "", "virtio device" }, > + { "s390x", "s390-ccw-virtio", "", "device" }, ...and therefore need to change the expected string here. Question: is that ok ("device" looks a bit generic), or would "Boot device" be a better match? > { "m68k", "mcf5208evb", "", "TT", sizeof(kernel_mcf5208), kernel_mcf5208 }, > { "microblaze", "petalogix-s3adsp1800", "", "TT", > sizeof(kernel_pls3adsp1800), kernel_pls3adsp1800 }, Otherwise, looks good.