mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Disable Suspend to RAM (S3) if SecureBoot or SMM are enabled
This commit is contained in:
		
							parent
							
								
									a4eddaa9e5
								
							
						
					
					
						commit
						b9f90d12c3
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		
							
								
								
									
										5
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -492,6 +492,11 @@ function vm_boot() { | ||||||
|       ;; |       ;; | ||||||
|   esac |   esac | ||||||
| 
 | 
 | ||||||
|  |   # Disable suspend to RAM if SecureBoot/SMM is enabled | ||||||
|  |   if [ "${secureboot}" == "on" ] || [ "${SMM}" == "on" ]; then | ||||||
|  |     GUEST_TWEAKS="${GUEST_TWEAKS} -global ICH9-LPC.disable_s3=1" | ||||||
|  |   fi | ||||||
|  | 
 | ||||||
|   echo " - Disk:     ${disk_img} (${disk_size})" |   echo " - Disk:     ${disk_img} (${disk_size})" | ||||||
|   if [ ! -f "${disk_img}" ]; then |   if [ ! -f "${disk_img}" ]; then | ||||||
|       # If there is no disk image, create a new image. |       # If there is no disk image, create a new image. | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue