summaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm/kvm-s390.c
diff options
context:
space:
mode:
authorJanosch Frank2016-05-09 14:14:01 +0200
committerChristian Borntraeger2016-06-10 12:07:11 +0200
commita011eeb2a3d6cd778eb63bea0bf149ebbe658ab5 (patch)
tree9e0ef8496b793e205fb96efbdacab329f1ad9bcc /arch/s390/kvm/kvm-s390.c
parents390: Make diag224 public (diff)
downloadkernel-qcow2-linux-a011eeb2a3d6cd778eb63bea0bf149ebbe658ab5.tar.gz
kernel-qcow2-linux-a011eeb2a3d6cd778eb63bea0bf149ebbe658ab5.tar.xz
kernel-qcow2-linux-a011eeb2a3d6cd778eb63bea0bf149ebbe658ab5.zip
KVM: s390: Add operation exception interception handler
This commit introduces code that handles operation exception interceptions. With this handler we can emulate instructions by using illegal opcodes. Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com> Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/kvm-s390.c')
-rw-r--r--arch/s390/kvm/kvm-s390.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
index 6d8ec3ac9dd8..f0addece729e 100644
--- a/arch/s390/kvm/kvm-s390.c
+++ b/arch/s390/kvm/kvm-s390.c
@@ -63,6 +63,7 @@ struct kvm_stats_debugfs_item debugfs_entries[] = {
{ "exit_instruction", VCPU_STAT(exit_instruction) },
{ "exit_program_interruption", VCPU_STAT(exit_program_interruption) },
{ "exit_instr_and_program_int", VCPU_STAT(exit_instr_and_program) },
+ { "exit_operation_exception", VCPU_STAT(exit_operation_exception) },
{ "halt_successful_poll", VCPU_STAT(halt_successful_poll) },
{ "halt_attempted_poll", VCPU_STAT(halt_attempted_poll) },
{ "halt_poll_invalid", VCPU_STAT(halt_poll_invalid) },