Re: [Qemu-devel] [PATCH v3 9/9] virtio-scsi: handle virtio_scsi_set_config() error

2016-09-26 Thread Stefan Hajnoczi
On Mon, Sep 26, 2016 at 10:35:04AM +0200, Greg Kurz wrote: > This error is caused by a buggy guest: let's switch the device to the > broken state instead of terminating QEMU. > > Signed-off-by: Greg Kurz > --- > hw/scsi/virtio-scsi.c |5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-

[Qemu-devel] [PATCH v3 9/9] virtio-scsi: handle virtio_scsi_set_config() error

2016-09-26 Thread Greg Kurz
This error is caused by a buggy guest: let's switch the device to the broken state instead of terminating QEMU. Signed-off-by: Greg Kurz --- hw/scsi/virtio-scsi.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hw/scsi/virtio-scsi.c b/hw/scsi/virtio-scsi.c index fca23