summaryrefslogtreecommitdiffstats
path: root/include/exec/cpu_ldst.h
diff options
context:
space:
mode:
authorStefan Hajnoczi2016-09-21 17:52:22 +0200
committerMichael S. Tsirkin2016-09-23 18:03:56 +0200
commitd65abf85e7e5fce31905eaea322ef2ea26e5f2db (patch)
tree228d3597cc24c38537e417ae27b90990f8aacdd3 /include/exec/cpu_ldst.h
parentvirtio: handle virtqueue_map_desc() errors (diff)
downloadqemu-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