From: Cornelia Huck Date: Mon, 21 Jan 2019 12:19:42 +0000 (+0100) Subject: virtio-ccw: diag 500 may return a negative cookie X-Git-Tag: v5.1-rc1~78^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8457fdfeb16d307b2acd502cb9224d03174294d2;p=thirdparty%2Flinux.git 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 Signed-off-by: Cornelia Huck Signed-off-by: Michael S. Tsirkin --- diff --git a/Documentation/virtual/kvm/s390-diag.txt b/Documentation/virtual/kvm/s390-diag.txt index 48c4921794edf..7c52e5f8b2103 100644 --- a/Documentation/virtual/kvm/s390-diag.txt +++ b/Documentation/virtual/kvm/s390-diag.txt @@ -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.