diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2018-01-23 15:28:40 +0300 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2018-01-24 18:49:02 +0300 |
commit | a37cb07a30f0a181bc45c6970e486ac2992e9cde (patch) | |
tree | 6f8d5fac8d50742efba135d72b6ac2b9811220f5 /arch/s390/kvm/diag.c | |
parent | 866c138c32547b690e4cab3cd209c763508a95ab (diff) | |
download | linux-a37cb07a30f0a181bc45c6970e486ac2992e9cde.tar.xz |
KVM: s390: add vcpu stat counters for many instruction
The overall instruction counter is larger than the sum of the
single counters. We should try to catch all instruction handlers
to make this match the summary counter.
Let us add sck,tb,sske,iske,rrbe,tb,tpi,tsch,lpsw,pswe....
and remove other unused ones.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'arch/s390/kvm/diag.c')
-rw-r--r-- | arch/s390/kvm/diag.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kvm/diag.c b/arch/s390/kvm/diag.c index 89aa114a2cba..45634b3d2e0a 100644 --- a/arch/s390/kvm/diag.c +++ b/arch/s390/kvm/diag.c @@ -257,6 +257,7 @@ int kvm_s390_handle_diag(struct kvm_vcpu *vcpu) case 0x500: return __diag_virtio_hypercall(vcpu); default: + vcpu->stat.diagnose_other++; return -EOPNOTSUPP; } } |