aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2016-06-07 03:57:08 -0400
committerChristian Borntraeger <borntraeger@de.ibm.com>2016-06-10 06:07:26 -0400
commit1bb78d161feae5b613c80eb822059eec60d2a538 (patch)
tree1877fcaee456751a105e50c9eed94bbe2efea2c1 /arch/s390/kvm
parentf597d24eee2dd9486edaac7a1821f35bc4d349c2 (diff)
KVM: s390: provide logging for diagnose 0x500
We might need to debug some virtio things, so better have diagnose 500 logged. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm')
-rw-r--r--arch/s390/kvm/diag.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/s390/kvm/diag.c b/arch/s390/kvm/diag.c
index 1ea4095b67d7..ce865bd4f81d 100644
--- a/arch/s390/kvm/diag.c
+++ b/arch/s390/kvm/diag.c
@@ -212,6 +212,11 @@ static int __diag_virtio_hypercall(struct kvm_vcpu *vcpu)
212 (vcpu->run->s.regs.gprs[1] != KVM_S390_VIRTIO_CCW_NOTIFY)) 212 (vcpu->run->s.regs.gprs[1] != KVM_S390_VIRTIO_CCW_NOTIFY))
213 return -EOPNOTSUPP; 213 return -EOPNOTSUPP;
214 214
215 VCPU_EVENT(vcpu, 4, "diag 0x500 schid 0x%8.8x queue 0x%x cookie 0x%llx",
216 (u32) vcpu->run->s.regs.gprs[2],
217 (u32) vcpu->run->s.regs.gprs[3],
218 vcpu->run->s.regs.gprs[4]);
219
215 /* 220 /*
216 * The layout is as follows: 221 * The layout is as follows:
217 * - gpr 2 contains the subchannel id (passed as addr) 222 * - gpr 2 contains the subchannel id (passed as addr)