mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Add host CPU vendor detection
This commit is contained in:
		
							parent
							
								
									0237499331
								
							
						
					
					
						commit
						3a86f6c2dd
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		
							
								
								
									
										4
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -147,6 +147,7 @@ function vm_boot() { | |||
|   local DISPLAY_DEVICE="" | ||||
|   local GL="on" | ||||
|   local GUEST_TWEAKS="" | ||||
|   local HOST_CPU="" | ||||
|   local OSK="" | ||||
|   local QEMU_VER="" | ||||
|   local VIDEO="" | ||||
|  | @ -188,6 +189,9 @@ function vm_boot() { | |||
| 
 | ||||
|   # Force to lowercase. | ||||
|   guest_os=${guest_os,,} | ||||
| 
 | ||||
|   HOST_CPU=$(grep vendor /proc/cpuinfo | uniq | cut -d':' -f2 | sed 's/ //g') | ||||
| 
 | ||||
|   # Make any OS specific adjustments | ||||
|   case ${guest_os} in | ||||
|     linux) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue