diff options
| author | Greg Kurz | 2016-09-30 17:13:16 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2016-10-10 00:16:59 +0200 |
| commit | ba7eadb5927633d487064b518bf6fd001369e30c (patch) | |
| tree | 4ca6d875268fa9e5b002edb759e2e34b36321faa /scripts/checkpatch.pl | |
| parent | virtio-blk: handle virtio_blk_handle_request() errors (diff) | |
| download | qemu-ba7eadb5927633d487064b518bf6fd001369e30c.tar.gz qemu-ba7eadb5927633d487064b518bf6fd001369e30c.tar.xz qemu-ba7eadb5927633d487064b518bf6fd001369e30c.zip | |
virtio-net: handle virtio_net_handle_ctrl() error
This error is 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: 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 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
