From: Aurelien Jarno <aurelien@aurel32.net>
To: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Alexander Graf <agraf@suse.de>,
qemu-stable@nongnu.org, qemu-devel <qemu-devel@nongnu.org>,
#@tuxmaker.boeblingen.de.ibm.com,
Cornelia Huck <cornelia.huck@de.ibm.com>,
Paolo Bonzini <pbonzini@redhat.com>,
v2.3.0@tuxmaker.boeblingen.de.ibm.com
Subject: Re: [Qemu-devel] [PATCH/RFC] s390x/ipl: Fix boot if no bootindex was specified
Date: Thu, 18 Jun 2015 19:26:51 +0200 [thread overview]
Message-ID: <20150618172651.GA1856@aurel32.net> (raw)
In-Reply-To: <1434642868-18685-1-git-send-email-borntraeger@de.ibm.com>
On 2015-06-18 17:54, Christian Borntraeger 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 <borntraeger@de.ibm.com>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
> Cc: qemu-stable@nongnu.org # v2.3.0
> ---
> hw/s390x/ipl.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks for the quick patch, I confirmed it works.
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net
next prev parent reply other threads:[~2015-06-18 17:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-18 15:54 [Qemu-devel] [PATCH/RFC] s390x/ipl: Fix boot if no bootindex was specified Christian Borntraeger
2015-06-18 17:26 ` Aurelien Jarno [this message]
2015-06-30 7:50 ` 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=20150618172651.GA1856@aurel32.net \
--to=aurelien@aurel32.net \
--cc=#@tuxmaker.boeblingen.de.ibm.com \
--cc=agraf@suse.de \
--cc=borntraeger@de.ibm.com \
--cc=cornelia.huck@de.ibm.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-stable@nongnu.org \
--cc=v2.3.0@tuxmaker.boeblingen.de.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).