summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGreg Kurz2016-09-30 17:13:24 +0200
committerMichael S. Tsirkin2016-10-10 00:16:59 +0200
commitba10b9c0038e201d7ea28a9e3908928439ff7fa4 (patch)
treecf73a1111e76d7c9459b674e44d6dc8c9f83e057 /include
parentvirtio-net: handle virtio_net_handle_ctrl() error (diff)
downloadqemu-ba10b9c0038e201d7ea28a9e3908928439ff7fa4.tar.gz
qemu-ba10b9c0038e201d7ea28a9e3908928439ff7fa4.tar.xz
qemu-ba10b9c0038e201d7ea28a9e3908928439ff7fa4.zip
virtio-net: handle virtio_net_receive() errors
All these errors are caused by a buggy guest: let's switch the device to the broken state instead of terminating QEMU. Also we detach the element from the virtqueue and free it. Signed-off-by: Greg Kurz <groug@kaod.org> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions