mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Refactor -display configuration build
This commit is contained in:
		
							parent
							
								
									8bacffc65b
								
							
						
					
					
						commit
						b9e6558bd6
					
				
					 1 changed files with 1 additions and 5 deletions
				
			
		
							
								
								
									
										6
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -165,11 +165,7 @@ function vm_boot() { | |||
|     ram="3G" | ||||
|   fi | ||||
|   echo " - RAM:      ${ram}" | ||||
| 
 | ||||
|   # Determine what display to use | ||||
|   local display="-display ${UI},gl=${GL}" | ||||
|   echo " - UI:       ${UI}" | ||||
|   echo " - GL:       ${GL}" | ||||
|   echo " - VIRGL:    ${VIRGL}" | ||||
| 
 | ||||
|   local xres=1152 | ||||
|  | @ -235,7 +231,7 @@ function vm_boot() { | |||
|     -object rng-random,id=rng0,filename=/dev/urandom \ | ||||
|     -device virtio-rng-pci,rng=rng0 \ | ||||
|     -device virtio-vga,virgl=${VIRGL},xres=${xres},yres=${yres} \ | ||||
|     ${display} ${STATUSQUO}\ | ||||
|     -display ${UI},gl=${GL} ${STATUSQUO} \ | ||||
|     "$@" | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue