• D
    s390x/tcg: fixup TEST PROTECTION · b5e85329
    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 instruction
    (otherwise, e.g. booting fedora 27 fails).
    
    Also, the architecture explicitly specifies which exceptions are
    forwarded to the guest, this makes the code a little nicer.
    Signed-off-by: NDavid Hildenbrand <david@redhat.com>
    Message-Id: <20180112125452.8569-1-david@redhat.com>
    Signed-off-by: NCornelia Huck <cohuck@redhat.com>
    b5e85329
helper.h 9.3 KB