[Qemu-devel] [PATCH 1.0] virtio-blk: pass full status to the guest

2011-11-02 Thread Paolo Bonzini
When SCSI passthrough is being used by the guest with virtio-blk, the guest is not able to detect disk failures. This is because the status field is expected by the guest driver to include also the msg_status, host_status and driver_status fields, but the device is only passing down the SCSI statu

Re: [Qemu-devel] [PATCH 1.0] virtio-blk: pass full status to the guest

2011-11-02 Thread Anthony Liguori
On 11/02/2011 07:19 AM, Paolo Bonzini wrote: When SCSI passthrough is being used by the guest with virtio-blk, the guest is not able to detect disk failures. This is because the status field is expected by the guest driver to include also the msg_status, host_status and driver_status fields, but

Re: [Qemu-devel] [PATCH 1.0] virtio-blk: pass full status to the guest

2011-11-02 Thread Michael S. Tsirkin
On Wed, Nov 02, 2011 at 01:19:40PM +0100, Paolo Bonzini wrote: > When SCSI passthrough is being used by the guest with virtio-blk, the > guest is not able to detect disk failures. This is because the status > field is expected by the guest driver to include also the msg_status, > host_status and d

Re: [Qemu-devel] [PATCH 1.0] virtio-blk: pass full status to the guest

2011-11-02 Thread Paolo Bonzini
On 11/02/2011 02:00 PM, Michael S. Tsirkin wrote: > When SCSI passthrough is being used by the guest with virtio-blk, the > guest is not able to detect disk failures. This is because the status > field is expected by the guest driver to include also the msg_status, > host_status and driver_s