projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47b0f45
)
NVMe: Set correct VS Value for 1.1 Compliant Controllers
author
Anubhav Rakshit
<anubhav.rakshit@gmail.com>
Thu, 8 Jan 2015 09:40:35 +0000
(15:10 +0530)
committer
Stefan Hajnoczi
<stefanha@redhat.com>
Tue, 13 Jan 2015 13:43:29 +0000
(13:43 +0000)
According to NVMe specifications Bits 15:08 represent Minor Version number.
Signed-off-by: Anubhav Rakshit <anubhav.rakshit@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/block/nvme.c
patch
|
blob
|
history
diff --git
a/hw/block/nvme.c
b/hw/block/nvme.c
index 4f70f91443145fe353383f8d6e29d5454790f705..ce079aefdd615ac1e0e6db3e970c38706c91307c 100644
(file)
--- 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 = 0x00010
001
;
+ n->bar.vs = 0x00010
100
;
n->bar.intmc = n->bar.intms = 0;
for (i = 0; i < n->num_namespaces; i++) {