mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Disable S3 for macOS to try and prevent installs suspending
This commit is contained in:
		
							parent
							
								
									eff4463efc
								
							
						
					
					
						commit
						4325a1e79a
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		
							
								
								
									
										5
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -480,6 +480,9 @@ function vm_boot() { | |||
|         exit 1 | ||||
|       fi | ||||
| 
 | ||||
|       # Disable S3 support in the VM to prevent macOS suspending during install | ||||
|       GUEST_TWEAKS="-no-hpet -global kvm-pit.lost_tick_policy=discard -global ICH9-LPC.disable_s3=1 -device isa-applesmc,osk=${OSK}" | ||||
| 
 | ||||
|       # Tune Qemu optimisations based on the macOS release, or fallback to lowest | ||||
|       # common supported options if none is specified. | ||||
|       #   * VirtIO Block Media doesn't work in High Sierra (at all) or the Mojave (Recovery Image) | ||||
|  | @ -509,7 +512,7 @@ function vm_boot() { | |||
|           ;; | ||||
|       esac | ||||
|       OSK=$(echo "bheuneqjbexolgurfrjbeqfthneqrqcyrnfrqbagfgrny(p)NccyrPbzchgreVap" | tr 'A-Za-z' 'N-ZA-Mn-za-m') | ||||
|       GUEST_TWEAKS="-no-hpet -global kvm-pit.lost_tick_policy=discard -device isa-applesmc,osk=${OSK}" | ||||
| 
 | ||||
|       if [ -z "${disk_size}" ]; then | ||||
|         disk_size="96G" | ||||
|       fi | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue