]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
virtio-ccw: diag 500 may return a negative cookie
authorCornelia Huck <cohuck@redhat.com>
Mon, 21 Jan 2019 12:19:42 +0000 (13:19 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 6 Mar 2019 16:19:33 +0000 (11:19 -0500)
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>
Documentation/virtual/kvm/s390-diag.txt

index 48c4921794edf0b98c9dfb59e0361b235d3124e2..7c52e5f8b210357075cc115500638c4b5841bab9 100644 (file)
@@ -68,7 +68,8 @@ Subcode 3 - virtio-ccw notification
     identifier, it is ignored.
 
     After completion of the DIAGNOSE call, general register 2 may contain
-    a 64bit identifier (in the kvm_io_bus cookie case).
+    a 64bit identifier (in the kvm_io_bus cookie case), or a negative
+    error value, if an internal error occurred.
 
     See also the virtio standard for a discussion of this hypercall.