megasas: Clear unit attention on initial reset
commit8d72db68fe7b45c7e01f815c4ac3e6c7ac0e26c1
authorHannes Reinecke <hare@suse.de>
Wed, 29 Oct 2014 12:00:11 +0000 (29 13:00 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 31 Oct 2014 10:29:00 +0000 (31 11:29 +0100)
treee8c03878cd97adc6eab05dffb173e9f1df985f26
parent77bb6b171043d03f7e4f5212beaa4e6cb3fd6528
megasas: Clear unit attention on initial reset

The EFI firmware doesn't handle unit attentions properly,
so we need to clear the Power On/Reset unit attention upon
initial reset.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/megasas.c
hw/scsi/scsi-bus.c
include/hw/scsi/scsi.h
trace-events