Skip to content

Commit 8457fdf

Browse files
cohuckmstsirkin
authored andcommitted
virtio-ccw: diag 500 may return a negative cookie
If something goes wrong in the kvm io bus handling, the virtio-ccw diagnose may return a negative error value in the cookie gpr. Document this. Reviewed-by: Halil Pasic <pasic@linux.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
1 parent 59f3397 commit 8457fdf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/virtual/kvm/s390-diag.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ Subcode 3 - virtio-ccw notification
6868
identifier, it is ignored.
6969

7070
After completion of the DIAGNOSE call, general register 2 may contain
71-
a 64bit identifier (in the kvm_io_bus cookie case).
71+
a 64bit identifier (in the kvm_io_bus cookie case), or a negative
72+
error value, if an internal error occurred.
7273

7374
See also the virtio standard for a discussion of this hypercall.
7475

0 commit comments

Comments
 (0)