megasas: Ignore duplicate init_firmware commands
commit96f8f23a1e900796494a54e8b56610e1a7db2a89
authorHannes Reinecke <hare@suse.de>
Wed, 29 Oct 2014 12:00:12 +0000 (29 13:00 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 31 Oct 2014 10:29:00 +0000 (31 11:29 +0100)
tree66d3cfc7acbc57b850e73cf9a333b4a405e887e4
parent8d72db68fe7b45c7e01f815c4ac3e6c7ac0e26c1
megasas: Ignore duplicate init_firmware commands

The windows driver is sending several init_firmware commands
when in MSI-X mode. It is, however, using only the first
queue. So disregard any additional init_firmware commands
until the HBA is reset.

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