diff options
| author | Stefan Hajnoczi | 2016-09-21 17:52:22 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2016-09-23 18:03:56 +0200 |
| commit | d65abf85e7e5fce31905eaea322ef2ea26e5f2db (patch) | |
| tree | 228d3597cc24c38537e417ae27b90990f8aacdd3 /include/exec/cpu_ldst.h | |
| parent | virtio: handle virtqueue_map_desc() errors (diff) | |
| download | qemu-d65abf85e7e5fce31905eaea322ef2ea26e5f2db.tar.gz qemu-d65abf85e7e5fce31905eaea322ef2ea26e5f2db.tar.xz qemu-d65abf85e7e5fce31905eaea322ef2ea26e5f2db.zip | |
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>
Diffstat (limited to 'include/exec/cpu_ldst.h')
0 files changed, 0 insertions, 0 deletions
