KVM: s390: Fix epsw instruction decoding
authorThomas Huth <thuth@linux.vnet.ibm.com>
Wed, 12 Jun 2013 11:54:57 +0000 (13:54 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 17 Jun 2013 15:10:38 +0000 (17:10 +0200)
commitaeb87c3cb7416d4d5931bc939cc083c731479de0
tree9b7163fe8f2ba9f580abed36576397b409f5a3e8
parentb764bb1c50c279b95a486d338418f7fda74fff71
KVM: s390: Fix epsw instruction decoding

The handle_epsw() function calculated the first register in the wrong way,
so that it always used r0 by mistake. Now the code uses the common helper
function for decoding the registers of rre functions instead to avoid such
mistakes.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/s390/kvm/priv.c
This page took 0.027214 seconds and 5 git commands to generate.