s390x/tcg: fix checking for invalid memory check
commit0bd695a960bf05f27ad6d710d2b64059037574ce
authorDavid Hildenbrand <david@redhat.com>
Tue, 26 Sep 2017 18:33:13 +0000 (26 20:33 +0200)
committerCornelia Huck <cohuck@redhat.com>
Fri, 6 Oct 2017 08:53:02 +0000 (6 10:53 +0200)
tree8f39c81ed0eb81647950189f80b49dd9518daf6e
parent93973f8f154e70d6cf22c418e82b0b80213d31b2
s390x/tcg: fix checking for invalid memory check

It should have been a >=, but let's directly perform a proper access
check to also be able to deal with hotplugged memory later.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170926183318.12995-2-david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/excp_helper.c