Always disable S3 on WIndows

This should prevent fresh installs from failing during the multiple reboots
This commit is contained in:
Martin Wimpress 2021-12-06 11:38:26 +00:00
parent f8aee430ec
commit ace30551fc
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
1 changed files with 1 additions and 3 deletions

View File

@ -523,9 +523,7 @@ function vm_boot() {
# 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
if [ "${secureboot}" == "on" ]; then
GUEST_TWEAKS="${GUEST_TWEAKS} -global ICH9-LPC.disable_s3=1"
fi
GUEST_TWEAKS="${GUEST_TWEAKS} -global ICH9-LPC.disable_s3=1"
if [ -z "${disk_size}" ]; then
disk_size="64G"