Re: [Qemu-devel] [PATCH] s390x/tcg: fixup TEST PROTECTION

2018-01-19 Thread Cornelia Huck
On Fri, 12 Jan 2018 13:54:52 +0100 David Hildenbrand wrote: > CC == 2 can only happen due to a protection exception, not if memory is > not available (PGM_ADDRESSING). So all PGM_ADDRESSING exceptions have to > be forwarded to the guest. > > Since the initial definition of TEST PROTECTION, we no

Re: [Qemu-devel] [PATCH] s390x/tcg: fixup TEST PROTECTION

2018-01-18 Thread Cornelia Huck
On Wed, 17 Jan 2018 16:37:37 +0100 David Hildenbrand wrote: > On 12.01.2018 13:54, David Hildenbrand wrote: > > CC == 2 can only happen due to a protection exception, not if memory is > > not available (PGM_ADDRESSING). So all PGM_ADDRESSING exceptions have to > > be forwarded to the guest. > >

Re: [Qemu-devel] [PATCH] s390x/tcg: fixup TEST PROTECTION

2018-01-17 Thread David Hildenbrand
On 12.01.2018 13:54, David Hildenbrand wrote: > CC == 2 can only happen due to a protection exception, not if memory is > not available (PGM_ADDRESSING). So all PGM_ADDRESSING exceptions have to > be forwarded to the guest. > > Since the initial definition of TEST PROTECTION, we now read globals >

[Qemu-devel] [PATCH] s390x/tcg: fixup TEST PROTECTION

2018-01-12 Thread David Hildenbrand
CC == 2 can only happen due to a protection exception, not if memory is not available (PGM_ADDRESSING). So all PGM_ADDRESSING exceptions have to be forwarded to the guest. Since the initial definition of TEST PROTECTION, we now read globals (e.g. PSW mask), so we have to correctly mark the instruc