mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Make nested case statements easier to follow
This commit is contained in:
		
							parent
							
								
									199952a13e
								
							
						
					
					
						commit
						9ac49a94d2
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		
							
								
								
									
										7
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										7
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -309,9 +309,6 @@ function vm_boot() { | ||||||
|         echo "ERROR! macOS requires a CPU with SSE 4.1 and AVX2 support." |         echo "ERROR! macOS requires a CPU with SSE 4.1 and AVX2 support." | ||||||
|         exit 1 |         exit 1 | ||||||
|       fi |       fi | ||||||
|       OSK=$(echo "bheuneqjbexolgurfrjbeqfthneqrqcyrnfrqbagfgrny(p)NccyrPbzchgreVap" | tr 'A-Za-z' 'N-ZA-Mn-za-m') |  | ||||||
|       GUEST_TWEAKS="-device isa-applesmc,osk=${OSK} -no-hpet -global kvm-pit.lost_tick_policy=discard" |  | ||||||
|       disk="64G" |  | ||||||
| 
 | 
 | ||||||
|       # Tune Qemu optimisations based on the macOS release, or fallback to lowest |       # Tune Qemu optimisations based on the macOS release, or fallback to lowest | ||||||
|       # common supported options if none is specificed. |       # common supported options if none is specificed. | ||||||
|  | @ -341,7 +338,9 @@ function vm_boot() { | ||||||
|             USB_HOST_PASSTHROUGH_CONTROLLER="usb-ehci" |             USB_HOST_PASSTHROUGH_CONTROLLER="usb-ehci" | ||||||
|             ;; |             ;; | ||||||
|       esac |       esac | ||||||
| 
 |       OSK=$(echo "bheuneqjbexolgurfrjbeqfthneqrqcyrnfrqbagfgrny(p)NccyrPbzchgreVap" | tr 'A-Za-z' 'N-ZA-Mn-za-m') | ||||||
|  |       GUEST_TWEAKS="-device isa-applesmc,osk=${OSK} -no-hpet -global kvm-pit.lost_tick_policy=discard" | ||||||
|  |       disk_size="64G" | ||||||
|       ;; |       ;; | ||||||
|     windows) |     windows) | ||||||
|       CPU="-cpu host,kvm=on,+hypervisor,+invtsc,l3-cache=on,migratable=no,hv_frequencies,kvm_pv_unhalt,hv_reenlightenment,hv_relaxed,hv_spinlocks=8191,hv_stimer,hv_synic,hv_time,hv_vapic,hv_vendor_id=1234567890ab,hv_vpindex" |       CPU="-cpu host,kvm=on,+hypervisor,+invtsc,l3-cache=on,migratable=no,hv_frequencies,kvm_pv_unhalt,hv_reenlightenment,hv_relaxed,hv_spinlocks=8191,hv_stimer,hv_synic,hv_time,hv_vapic,hv_vendor_id=1234567890ab,hv_vpindex" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue