summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/data-array-empty.err
diff options
context:
space:
mode:
authorAurelien Jarno2015-05-26 11:09:44 +0200
committerAlexander Graf2015-06-05 01:37:58 +0200
commitaa752a4afc2a4b7ede58a960a9d553b3fd9e6882 (patch)
tree7d1007d978a60f640ffbec5c1a4ca7ba86f9651f /tests/qapi-schema/data-array-empty.err
parenttarget-s390x: implement STPT helper (diff)
downloadqemu-aa752a4afc2a4b7ede58a960a9d553b3fd9e6882.tar.gz
qemu-aa752a4afc2a4b7ede58a960a9d553b3fd9e6882.tar.xz
qemu-aa752a4afc2a4b7ede58a960a9d553b3fd9e6882.zip
target-s390x: fix LOAD MULTIPLE instruction on page boundary
When consecutive memory locations are on page boundary a page fault might occur when using the LOAD MULTIPLE instruction. In that case real hardware doesn't load any register. This is an important detail in case the base register is in the list of registers to be loaded. If a page fault occurs this register might be overwritten and when the instruction is later restarted the wrong base register value is useD. Fix this by first loading the first and last value from memory, hence triggering all possible page faults, and then the remaining registers. This fixes random segmentation faults seen in the guest. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'tests/qapi-schema/data-array-empty.err')
0 files changed, 0 insertions, 0 deletions