mirror of
				https://git.proxmox.com/git/qemu
				synced 2025-10-31 09:46:55 +00:00 
			
		
		
		
	QemuOpts: make the drive id actually show up in "info block".
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
This commit is contained in:
		
							parent
							
								
									6d378185c6
								
							
						
					
					
						commit
						e23d9c4de1
					
				
							
								
								
									
										2
									
								
								vl.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								vl.c
									
									
									
									
									
								
							| @ -2213,7 +2213,7 @@ DriveInfo *drive_init(QemuOpts *opts, void *opaque, | ||||
|     /* init */ | ||||
| 
 | ||||
|     dinfo = qemu_mallocz(sizeof(*dinfo)); | ||||
|     if ((buf = qemu_opt_get(opts, "id")) != NULL) { | ||||
|     if ((buf = qemu_opts_id(opts)) != NULL) { | ||||
|         dinfo->id = qemu_strdup(buf); | ||||
|     } else { | ||||
|         /* no id supplied -> create one */ | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Gerd Hoffmann
						Gerd Hoffmann