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:
		
							parent
							
								
									47b0f45a92
								
							
						
					
					
						commit
						07d31d07f4
					
				| 
						 | 
				
			
			@ -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++) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue