aboutsummaryrefslogtreecommitdiff
path: root/util/main-loop.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2018-03-01 13:08:26 +0100
committerCornelia Huck <cohuck@redhat.com>2018-03-01 13:23:09 +0100
commitbe8b49de2491145a7aad3201803327b6f568cbd3 (patch)
treebcf7c25e20bafa952ce6541552112a9cba1ef664 /util/main-loop.c
parenteae9f29130f3ed40ad77f40a3bae4b9ebff28907 (diff)
downloadqemu-be8b49de2491145a7aad3201803327b6f568cbd3.zip
qemu-be8b49de2491145a7aad3201803327b6f568cbd3.tar.gz
qemu-be8b49de2491145a7aad3201803327b6f568cbd3.tar.bz2
s390x/tcg: fix loading 31bit PSWs with the highest bit set
Let's also put the 31-bit hack in front of the REAL MMU, otherwise right now we get errors when loading a PSW where the highest bit is set (e.g. via s390-netboot.img). The highest bit is not masked away, therefore we inject addressing exceptions into the guest. The proper fix will later be to do all address wrapping before accessing the MMU - so we won't get any "wrong" entries in there (which makes flushing also easier). But that will require more work (wrapping in load_psw, wrapping when incrementing the PC, wrapping every memory access). This fixes the tests/pxe-test test. Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20180301120826.6847-1-david@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'util/main-loop.c')
0 files changed, 0 insertions, 0 deletions