Skip to content

Commit

Permalink
KVM: s390: provide logging for diagnose 0x500
Browse files Browse the repository at this point in the history
We might need to debug some virtio things, so better have diagnose 500
logged.

Signed-off-by: Christian Borntraeger <[email protected]>
Acked-by: Cornelia Huck <[email protected]>
  • Loading branch information
borntraeger committed Jun 10, 2016
1 parent f597d24 commit 1bb78d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/s390/kvm/diag.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,11 @@ static int __diag_virtio_hypercall(struct kvm_vcpu *vcpu)
(vcpu->run->s.regs.gprs[1] != KVM_S390_VIRTIO_CCW_NOTIFY))
return -EOPNOTSUPP;

VCPU_EVENT(vcpu, 4, "diag 0x500 schid 0x%8.8x queue 0x%x cookie 0x%llx",
(u32) vcpu->run->s.regs.gprs[2],
(u32) vcpu->run->s.regs.gprs[3],
vcpu->run->s.regs.gprs[4]);

/*
* The layout is as follows:
* - gpr 2 contains the subchannel id (passed as addr)
Expand Down

0 comments on commit 1bb78d1

Please sign in to comment.