qapi: Add NVMe driver options to the schema
Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20180116060901.17413-10-famz@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com>
This commit is contained in:
		
							parent
							
								
									e86de5e474
								
							
						
					
					
						commit
						d87ee3d70f
					
				@ -2248,6 +2248,7 @@
 | 
				
			|||||||
#
 | 
					#
 | 
				
			||||||
# @vxhs: Since 2.10
 | 
					# @vxhs: Since 2.10
 | 
				
			||||||
# @throttle: Since 2.11
 | 
					# @throttle: Since 2.11
 | 
				
			||||||
 | 
					# @nvme: Since 2.12
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Since: 2.9
 | 
					# Since: 2.9
 | 
				
			||||||
##
 | 
					##
 | 
				
			||||||
@ -2255,7 +2256,7 @@
 | 
				
			|||||||
  'data': [ 'blkdebug', 'blkverify', 'bochs', 'cloop',
 | 
					  'data': [ 'blkdebug', 'blkverify', 'bochs', 'cloop',
 | 
				
			||||||
            'dmg', 'file', 'ftp', 'ftps', 'gluster', 'host_cdrom',
 | 
					            'dmg', 'file', 'ftp', 'ftps', 'gluster', 'host_cdrom',
 | 
				
			||||||
            'host_device', 'http', 'https', 'iscsi', 'luks', 'nbd', 'nfs',
 | 
					            'host_device', 'http', 'https', 'iscsi', 'luks', 'nbd', 'nfs',
 | 
				
			||||||
            'null-aio', 'null-co', 'parallels', 'qcow', 'qcow2', 'qed',
 | 
					            'null-aio', 'null-co', 'nvme', 'parallels', 'qcow', 'qcow2', 'qed',
 | 
				
			||||||
            'quorum', 'raw', 'rbd', 'replication', 'sheepdog', 'ssh',
 | 
					            'quorum', 'raw', 'rbd', 'replication', 'sheepdog', 'ssh',
 | 
				
			||||||
            'throttle', 'vdi', 'vhdx', 'vmdk', 'vpc', 'vvfat', 'vxhs' ] }
 | 
					            'throttle', 'vdi', 'vhdx', 'vmdk', 'vpc', 'vvfat', 'vxhs' ] }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -2296,6 +2297,19 @@
 | 
				
			|||||||
{ 'struct': 'BlockdevOptionsNull',
 | 
					{ 'struct': 'BlockdevOptionsNull',
 | 
				
			||||||
  'data': { '*size': 'int', '*latency-ns': 'uint64' } }
 | 
					  'data': { '*size': 'int', '*latency-ns': 'uint64' } }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					##
 | 
				
			||||||
 | 
					# @BlockdevOptionsNVMe:
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# Driver specific block device options for the NVMe backend.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# @device:    controller address of the NVMe device.
 | 
				
			||||||
 | 
					# @namespace: namespace number of the device, starting from 1.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# Since: 2.12
 | 
				
			||||||
 | 
					##
 | 
				
			||||||
 | 
					{ 'struct': 'BlockdevOptionsNVMe',
 | 
				
			||||||
 | 
					  'data': { 'device': 'str', 'namespace': 'int' } }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
##
 | 
					##
 | 
				
			||||||
# @BlockdevOptionsVVFAT:
 | 
					# @BlockdevOptionsVVFAT:
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
@ -3201,6 +3215,7 @@
 | 
				
			|||||||
      'nfs':        'BlockdevOptionsNfs',
 | 
					      'nfs':        'BlockdevOptionsNfs',
 | 
				
			||||||
      'null-aio':   'BlockdevOptionsNull',
 | 
					      'null-aio':   'BlockdevOptionsNull',
 | 
				
			||||||
      'null-co':    'BlockdevOptionsNull',
 | 
					      'null-co':    'BlockdevOptionsNull',
 | 
				
			||||||
 | 
					      'nvme':       'BlockdevOptionsNVMe',
 | 
				
			||||||
      'parallels':  'BlockdevOptionsGenericFormat',
 | 
					      'parallels':  'BlockdevOptionsGenericFormat',
 | 
				
			||||||
      'qcow2':      'BlockdevOptionsQcow2',
 | 
					      'qcow2':      'BlockdevOptionsQcow2',
 | 
				
			||||||
      'qcow':       'BlockdevOptionsQcow',
 | 
					      'qcow':       'BlockdevOptionsQcow',
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user