Re: [Qemu-devel] [PATCH 4/7] virtio-net: handle virtio_net_receive() errors

2016-09-21 Thread Cornelia Huck
On Wed, 21 Sep 2016 15:14:25 +0200 Greg Kurz wrote: > All these errors are caused by a buggy guest: let's switch the device to > the broken state instead of terminating QEMU. > > Signed-off-by: Greg Kurz > --- > hw/net/virtio-net.c | 25

[Qemu-devel] [PATCH 4/7] virtio-net: handle virtio_net_receive() errors

2016-09-21 Thread Greg Kurz
All these errors are caused by a buggy guest: let's switch the device to the broken state instead of terminating QEMU. Signed-off-by: Greg Kurz --- hw/net/virtio-net.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git