mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Add option to use QXL driver
This is intended for use with Windows 10.
This commit is contained in:
		
							parent
							
								
									b41fbb38c6
								
							
						
					
					
						commit
						d40840b7a8
					
				
					 2 changed files with 11 additions and 2 deletions
				
			
		|  | @ -87,7 +87,7 @@ You can use `quickemu` to run a Windows 10 virtual machine. | |||
| iso="/media/$USER/Quickemu/windows10/Win10_1909_English_x64.iso" | ||||
| driver_iso="/media/$USER/Quickemu/windows10/virtio-win-0.1.173.iso" | ||||
| disk_img="/media/$USER/Quickemu/windows10/windows10.qcow2" | ||||
| disk=128G | ||||
| VIDEO_DRV="qxl" | ||||
| ``` | ||||
| 
 | ||||
|   * Use `quickemu` to start the virtual machine: | ||||
|  |  | |||
							
								
								
									
										11
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -202,6 +202,15 @@ function vm_boot() { | |||
|   else | ||||
|     echo " - Display:  ${xres}x${yres}" | ||||
|   fi | ||||
|    | ||||
|   if [ "${VIDEO_DRV}" == "qxl" ]; then | ||||
|     echo " - Driver:   QXL" | ||||
|     local VIDEO_DEV=" -vga ${VIDEO_DRV}" | ||||
|     VIRGL="off" | ||||
|   else | ||||
|     echo " - Driver:   VirtIO-VGA" | ||||
|     local VIDEO_DEV="-device ${VIDEO_DRV},virgl=${VIRGL},xres=${xres},yres=${yres}" | ||||
|   fi | ||||
|   echo " - GL:       ${GL}" | ||||
|   echo " - Virgil3D: ${VIRGL}" | ||||
|   echo " - Output:   ${UI^^}" | ||||
|  | @ -249,7 +258,7 @@ function vm_boot() { | |||
|     -device qemu-xhci,id=xhci,p2=8,p3=8 -device usb-kbd -device usb-tablet \ | ||||
|     -object rng-random,id=rng0,filename=/dev/urandom \ | ||||
|     -device virtio-rng-pci,rng=rng0 \ | ||||
|     -device virtio-vga,virgl=${VIRGL},xres=${xres},yres=${yres} \ | ||||
|     ${VIDEO_DEV} \ | ||||
|     -display ${UI},gl=${GL} ${STATUSQUO} \ | ||||
|     "$@" | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue