Re: [Qemu-devel] [PATCH 2/7] virtio-blk: handle virtio_blk_handle_request() errors

2016-09-21 Thread Greg Kurz
On Wed, 21 Sep 2016 16:28:34 +0200 Cornelia Huck wrote: > On Wed, 21 Sep 2016 15:14:09 +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/blo

Re: [Qemu-devel] [PATCH 2/7] virtio-blk: handle virtio_blk_handle_request() errors

2016-09-21 Thread Cornelia Huck
On Wed, 21 Sep 2016 15:14:09 +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/block/virtio-blk.c | 27 +-- > 1 file changed, 17 ins

[Qemu-devel] [PATCH 2/7] virtio-blk: handle virtio_blk_handle_request() 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/block/virtio-blk.c | 27 +-- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/hw/block/virtio-blk.c b/hw