mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Refactor DISPLAY_DEVICE for Linux guests
This commit is contained in:
		
							parent
							
								
									e6c7603864
								
							
						
					
					
						commit
						bd3b24ee71
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		
							
								
								
									
										5
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -404,7 +404,10 @@ function vm_boot() { | |||
| 
 | ||||
|   # https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/ | ||||
|   if [ "${guest_os}" == "linux" ]; then | ||||
|     DISPLAY_DEVICE="virtio-vga" | ||||
|     case ${OUTPUT} in | ||||
|       spice) DISPLAY_DEVICE="qxl-vga";; | ||||
|       *) DISPLAY_DEVICE="virtio-vga";; | ||||
|     esac | ||||
|   elif [ "${guest_os}" == "macos" ]; then | ||||
|     # Tweak video device based on the guest macOS release. | ||||
|     # Displays in System Preferences can be used to select a resolution if: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue