From 07d31d07f4b28a61b65cec95da69851c675f20b9 Mon Sep 17 00:00:00 2001 From: Anubhav Rakshit Date: Thu, 8 Jan 2015 15:10:35 +0530 Subject: NVMe: Set correct VS Value for 1.1 Compliant Controllers According to NVMe specifications Bits 15:08 represent Minor Version number. Signed-off-by: Anubhav Rakshit Signed-off-by: Stefan Hajnoczi --- hw/block/nvme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/block/nvme.c b/hw/block/nvme.c index 4f70f91443..ce079aefdd 100644 --- a/hw/block/nvme.c +++ b/hw/block/nvme.c @@ -815,7 +815,7 @@ static int nvme_init(PCIDevice *pci_dev) NVME_CAP_SET_CSS(n->bar.cap, 1); NVME_CAP_SET_MPSMAX(n->bar.cap, 4); - n->bar.vs = 0x00010001; + n->bar.vs = 0x00010100; n->bar.intmc = n->bar.intms = 0; for (i = 0; i < n->num_namespaces; i++) { -- cgit v1.2.3