From: Klaus Birkelund Jensen Date: Fri, 5 Jul 2019 07:23:20 +0000 (+0200) Subject: nvme: fix lpa field X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=411a6663efc7303458c213c0c94ee3d0e0d7cd6b;p=people%2Fpauldu%2Fqemu.git nvme: fix lpa field The Log Page Attributes in the Identify Controller structure indicates that the controller supports the SMART / Health Information log page on a per namespace basis. It does not, given that neither this log page or the Get Log Page command is implemented. Signed-off-by: Klaus Birkelund Jensen --- diff --git a/hw/block/nvme.c b/hw/block/nvme.c index 17f388bf3d..e27376d9ee 100644 --- a/hw/block/nvme.c +++ b/hw/block/nvme.c @@ -1368,7 +1368,6 @@ static void nvme_realize(PCIDevice *pci_dev, Error **errp) id->ieee[2] = 0xb3; id->oacs = cpu_to_le16(0); id->frmw = 7 << 1; - id->lpa = 1 << 0; id->sqes = (0x6 << 4) | 0x6; id->cqes = (0x4 << 4) | 0x4; id->nn = cpu_to_le32(n->num_namespaces);