Stefan Hajnoczi d65abf85e7 virtio: handle virtqueue_get_avail_bytes() errors
If the vring is invalid, tell the caller no bytes are available and mark
the device broken.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
2016-09-23 19:03:56 +03:00
..
2016-09-13 18:12:34 +03:00
2016-06-17 16:33:48 +10:00
2016-09-22 18:13:08 +01:00
2016-06-14 15:59:13 +01:00
2016-09-08 18:05:21 +04:00
2016-09-23 12:39:07 +10:00
2016-05-18 15:04:27 +03:00
2016-09-23 11:42:52 +08:00
2016-09-08 18:05:21 +04:00
2016-09-23 14:26:12 +01:00
2016-09-23 11:42:52 +08:00
2016-07-29 00:07:09 +03:00
2016-01-29 15:07:25 +00:00
2016-09-23 14:26:12 +01:00
2016-09-19 12:41:28 +01:00
2016-09-22 18:13:08 +01:00
2016-09-15 15:32:22 +03:00
2016-09-23 11:42:52 +08:00
2016-09-15 15:32:22 +03:00
2016-09-23 11:42:52 +08:00
2015-12-22 18:39:19 +02:00