]> git.proxmox.com Git - mirror_qemu.git/commit
s390x/tcg: Fix max_byte detection for stfle
authorDavid Hildenbrand <david@redhat.com>
Fri, 31 May 2019 14:31:44 +0000 (16:31 +0200)
committerDavid Hildenbrand <david@redhat.com>
Fri, 7 Jun 2019 12:53:25 +0000 (14:53 +0200)
commit88a29e867528c57151103e64a966a9cbaeec852f
treeffc50c2d21bc3ee12aae7ba076e233f62f60bf83
parent4f83d7d2121a8b4cce59c06f7d74c47cdedd79eb
s390x/tcg: Fix max_byte detection for stfle

used_stfl_bytes is 0, before initialized via prepare_stfl() on the
first invocation. We have to move the calculation of max_bytes after
prepare_stfl().

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
target/s390x/misc_helper.c