On Thu, 18 Jun 2015 17:54:28 +0200
Christian Borntraeger <borntrae...@de.ibm.com> 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 <borntrae...@de.ibm.com>
> Cc: Paolo Bonzini <pbonz...@redhat.com>
> Cc: Cornelia Huck <cornelia.h...@de.ibm.com>
> Cc: qemu-sta...@nongnu.org # 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