]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
s390x/kvm: Reworked/fixed handling of cc3 in kvm_handle_css_inst()
authorThomas Huth <thuth@linux.vnet.ibm.com>
Mon, 24 Jun 2013 13:17:34 +0000 (15:17 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 30 Jul 2013 14:12:23 +0000 (16:12 +0200)
commitc1e8dfb5e860c48adf5026a5a7cf8f35be66c22c
treeaadc98f3f00976a3af9d399b726ee262224cdefd
parent71ed827abd57dc7947ce3316118d0e601e70fac9
s390x/kvm: Reworked/fixed handling of cc3 in kvm_handle_css_inst()

Consolidated the setting of the condition code in kvm_handle_css_inst().
For the (unhandled) instructions EQBS and SQBS, we have to return
an operation exception instead of cc3. Also removed the is_ioinst()
function to avoid decoding the opcode twice.

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