[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] scsi-disk: Fix crash if underlying host file or
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] scsi-disk: Fix crash if underlying host file or disk returns error. |
Date: |
Wed, 21 Nov 2018 15:20:23 +0100 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
Am 21.11.2018 um 13:47 hat Richard W.M. Jones geschrieben:
> Commit 40dce4ee6 "scsi-disk: fix rerror/werror=ignore" introduced a
> bug which causes qemu to crash with the assertion error below if the
> host file or disk returns an error:
>
> qemu-system-x86_64: hw/scsi/scsi-bus.c:1374: scsi_req_complete:
> Assertion `req->status == -1' failed.
>
> Kevin Wolf suggested this fix:
>
> < kwolf> Hm, should the final return false; in that patch
> actually be a return true?
> < kwolf> Because I think he didn't intend to change anything
> except BLOCK_ERROR_ACTION_IGNORE
>
> Signed-off-by: Richard W.M. Jones <address@hidden>
> Buglink: https://bugs.launchpad.net/qemu/+bug/1804323
Thanks, applied to the block branch.
Kevin