diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2011-11-02 13:19:40 +0100 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-11-02 07:51:58 -0500 |
| commit | 5bb23927761db0d48507c60f56c4e28f72f3c2a7 (patch) | |
| tree | 7947de44ec08258f44c8db4c0553b5946cfde134 /hw/intel-hda.c | |
| parent | e072ea2fd8fdceef64159b9596d3c15ce01bea91 (diff) | |
| download | focaccia-qemu-5bb23927761db0d48507c60f56c4e28f72f3c2a7.tar.gz focaccia-qemu-5bb23927761db0d48507c60f56c4e28f72f3c2a7.zip | |
virtio-blk: pass full status to the guest
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 status. The patch fixes this, and also makes sure that the guest always sees a CHECK_CONDITION status when there is valid sense data. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/intel-hda.c')
0 files changed, 0 insertions, 0 deletions