summary refs log tree commit diff stats
path: root/hw/intc/ioapic.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2016-09-21 16:52:26 +0100
committerMichael S. Tsirkin <mst@redhat.com>2016-09-23 19:03:56 +0300
commitfb1131b674e492a5f91abd77b9fcc9a9e2b88eb7 (patch)
tree45d5ff959cfe2e064150b64eb198d862a2c2d71c /hw/intc/ioapic.c
parent4355c1abcaedd64a18d627284a3b7e54acb00714 (diff)
downloadfocaccia-qemu-fb1131b674e492a5f91abd77b9fcc9a9e2b88eb7.tar.gz
focaccia-qemu-fb1131b674e492a5f91abd77b9fcc9a9e2b88eb7.zip
virtio: handle virtqueue_get_head() errors
Stop processing the vring if virtqueue_get_head() fetches an
out-of-bounds head index.

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/ioapic.c')
0 files changed, 0 insertions, 0 deletions