[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCH v2] hw/s390x/ipl: Fix crashes that occurs when -
From: |
Cornelia Huck |
Subject: |
Re: [qemu-s390x] [PATCH v2] hw/s390x/ipl: Fix crashes that occurs when -kernel is used with small images |
Date: |
Tue, 12 Jun 2018 11:26:20 +0200 |
On Mon, 11 Jun 2018 19:26:47 +0200
Thomas Huth <address@hidden> wrote:
I've tweaked $SUBJECT to
hw/s390x/ipl: Fix crashes when using -kernel/-initrd with small images
> Add a sanity checks to fix the following two crashes:
Also, s/Add a sanity checks/Add sanity checks/
>
> $ echo "Insane in the mainframe" > /tmp/test.txt
> $ s390x-softmmu/qemu-system-s390x -kernel /tmp/test.txt -append xyz
> Segmentation fault (core dumped)
> $ s390x-softmmu/qemu-system-s390x -kernel /tmp/test.txt -initrd /tmp/test.txt
> Segmentation fault (core dumped)
>
> Signed-off-by: Thomas Huth <address@hidden>
> ---
> v2: Fixed 2nd crash with -initrd
>
> hw/s390x/ipl.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
Thanks, applied.