OSDN Git Service

nvme: fix identify to be NVMe 1.1 compliant
authorChristoph Hellwig <hch@lst.de>
Thu, 4 Aug 2016 19:42:14 +0000 (21:42 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 5 Aug 2016 08:55:52 +0000 (10:55 +0200)
commit03035a23a3c5be010e1242be2bca721d5bb600b4
treeda032e5355973ba80effc588bc6150592fd973dc
parent39d990ac384cba496ba1f8bade184f182f9d5ad3
nvme: fix identify to be NVMe 1.1 compliant

NVMe 1.1 requires devices to implement a Namespace List subcommand of
the identify command.  Qemu not only not implements this features, but
also misinterprets it as an Identify Controller request.  Due to this
any OS trying to use the Namespace List will fail the probe.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/block/nvme.c