Skip to content
Commit 44ed8089 authored by Richard W.M. Jones's avatar Richard W.M. Jones Committed by Martin K. Petersen
Browse files

scsi: virtio: Reduce BUG if total_sg > virtqueue size to WARN.



If using indirect descriptors, you can make the total_sg as large as you
want.  If not, BUG is too serious because the function later returns
-ENOSPC.

Signed-off-by: default avatarRichard W.M. Jones <rjones@redhat.com>
Reviewed-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 42d7c10f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment