mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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 <anubhav.rakshit@gmail.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
committed by
Stefan Hajnoczi
parent
47b0f45a92
commit
07d31d07f4
+1
-1
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user