megasas: Implement LD_LIST_QUERY
commit34bb4d02e00e508fa9d111a6a31b45bbfecbdba5
authorHannes Reinecke <hare@suse.de>
Wed, 16 Apr 2014 14:44:13 +0000 (16 16:44 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Apr 2014 11:48:41 +0000 (28 13:48 +0200)
tree0158a41c026b07d61c3368b3f12e4d4363b987af
parent6ee143a0a4f8b5c437ac327e3d694a6a0e5380ad
megasas: Implement LD_LIST_QUERY

Newer firmware implement a LD_LIST_QUERY command, and due to a driver
issue no drives might be detected if this command isn't supported.
So add emulation for this command, too.

Cc: qemu-stable@nongnu.org
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/megasas.c
hw/scsi/mfi.h
trace-events