summary refs log tree commit diff stats
path: root/hw/intc/omap_intc.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2016-09-21 16:52:22 +0100
committerMichael S. Tsirkin <mst@redhat.com>2016-09-23 19:03:56 +0300
commitd65abf85e7e5fce31905eaea322ef2ea26e5f2db (patch)
tree228d3597cc24c38537e417ae27b90990f8aacdd3 /hw/intc/omap_intc.c
parentec55da192403e4a1e05f767c8762273d43ea7da4 (diff)
downloadfocaccia-qemu-d65abf85e7e5fce31905eaea322ef2ea26e5f2db.tar.gz
focaccia-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 'hw/intc/omap_intc.c')
0 files changed, 0 insertions, 0 deletions