Re: [PATCH 04/12] target/s390x: Fix MVCRL with a large value in R0

2023-07-04 Thread David Hildenbrand
On 03.07.23 17:50, Ilya Leoshkevich wrote: Using a large R0 causes an assertion error: qemu-s390x: target/s390x/tcg/mem_helper.c:183: access_prepare_nf: Assertion `size > 0 && size <= 4096' failed. Even though PoP explicitly advises against using more than 8 bits for the size, an emulator

[PATCH 04/12] target/s390x: Fix MVCRL with a large value in R0

2023-07-03 Thread Ilya Leoshkevich
Using a large R0 causes an assertion error: qemu-s390x: target/s390x/tcg/mem_helper.c:183: access_prepare_nf: Assertion `size > 0 && size <= 4096' failed. Even though PoP explicitly advises against using more than 8 bits for the size, an emulator crash is never a good thing. Fix by truncati