s390x/kvm: Rework priv instruction handlers
commit1eecf41b3e8128979dd571f63d0b4c7fedc919c2
authorFrank Blaschka <blaschka@linux.vnet.ibm.com>
Tue, 11 Feb 2014 07:41:38 +0000 (11 08:41 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 27 Feb 2014 08:51:26 +0000 (27 09:51 +0100)
tree7b52a9db7f1e825ddd8dd98e418796bcdf281c7f
parent04c2b5168e242e6fa6901442bd399aa7087effca
s390x/kvm: Rework priv instruction handlers

The current implementation uses the second byte of the instruction
to identify the instruction handler. This is not sufficient to
support instructions not starting with 0xb2. This patch
adds separate handlers for 0xb2, 0xb9 and 0xeb to be able to
support the full instruction set.

Signed-off-by: Frank Blaschka <blaschka@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
target-s390x/kvm.c