mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Disable S3 when booting Windows with SecureBoot #162
Disabling S3 is required while booting Windows with SecureBoot enable. Disabling S3 is not the cause of #162
This commit is contained in:
		
							parent
							
								
									951c8a6379
								
							
						
					
					
						commit
						084b632eae
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		
							
								
								
									
										5
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -506,10 +506,9 @@ function vm_boot() { | ||||||
|       fi |       fi | ||||||
|       GUEST_TWEAKS="-no-hpet -global kvm-pit.lost_tick_policy=discard" |       GUEST_TWEAKS="-no-hpet -global kvm-pit.lost_tick_policy=discard" | ||||||
| 
 | 
 | ||||||
|       # Disable S3 support in the VM for Arch Linux to ensure Windows can boot with SecureBoot enabled |       # Disable S3 support in the VM to ensure Windows can boot with SecureBoot enabled | ||||||
|       #  - https://wiki.archlinux.org/title/QEMU#VM_does_not_boot_when_using_a_Secure_Boot_enabled_OVMF |       #  - https://wiki.archlinux.org/title/QEMU#VM_does_not_boot_when_using_a_Secure_Boot_enabled_OVMF | ||||||
|       #  - https://github.com/wimpysworld/quickemu/issues/220 |       if [ "${secureboot}" == "on" ]; then | ||||||
|       if [[ "${EFI_CODE}" == *"edk2-ovmf/OVMF_CODE.secboot.fd"* ]]; then |  | ||||||
|         GUEST_TWEAKS="${GUEST_TWEAKS} -global ICH9-LPC.disable_s3=1" |         GUEST_TWEAKS="${GUEST_TWEAKS} -global ICH9-LPC.disable_s3=1" | ||||||
|       fi |       fi | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue