qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH/RFC] s390x/ipl: Fix boot if no bootindex was spe


From: Cornelia Huck
Subject: Re: [Qemu-devel] [PATCH/RFC] s390x/ipl: Fix boot if no bootindex was specified
Date: Tue, 30 Jun 2015 09:50:00 +0200

On Thu, 18 Jun 2015 17:54:28 +0200
Christian Borntraeger <address@hidden> wrote:

> commit fa92e218df1d ("s390x/ipl: avoid sign extension") introduced
> a regression:
> 
> qemu-system-s390x -drive file=/home/cborntra/image.zhyp409,format=qcow2
> does not boot, the bios states
> "No virtio-blk device found!"
> 
> adding bootindex=1 does boot.
> 
> The reason is that the uint32_t as return value will not do the right
> thing for the return -1 (default without bootindex).
> The bios itself, will interpret a 64bit -1 as autodetect (but it will
> interpret 32bit -1 as ccw device address ff.ff.ffff)
> 
> Signed-off-by: Christian Borntraeger <address@hidden>
> Cc: Paolo Bonzini <address@hidden>
> Cc: Cornelia Huck <address@hidden>
> Cc: address@hidden # v2.3.0
> ---
>  hw/s390x/ipl.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Applied to my s390-next branch.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]