megasas: Implement LD_LIST_QUERY
commit162486199790b45a7e8bda0f3ae5ec1f7fbfe78d
authorHannes Reinecke <hare@suse.de>
Wed, 16 Apr 2014 14:44:13 +0000 (16 16:44 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 21 Jul 2014 03:05:56 +0000 (20 22:05 -0500)
treea477ea60c6e3a13fc9957baec507145156e7e4da
parentfb039011ff6ec049ee05cb1e99abe86c241c0125
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>
(cherry picked from commit 34bb4d02e00e508fa9d111a6a31b45bbfecbdba5)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/scsi/megasas.c
hw/scsi/mfi.h
trace-events