Refactor GUEST_TWEAKS for Windows

pull/565/head
Martin Wimpress 2 years ago
parent 19b9e8e910
commit 62b258c296
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
  1. 4
      quickemu

@ -572,11 +572,9 @@ function vm_boot() {
if [ "${HOST_CPU_VENDOR}" == "AuthenticAMD" ]; then if [ "${HOST_CPU_VENDOR}" == "AuthenticAMD" ]; then
CPU="${CPU},topoext" CPU="${CPU},topoext"
fi fi
GUEST_TWEAKS="-no-hpet -global kvm-pit.lost_tick_policy=discard"
# Disable S3 support in the VM 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
GUEST_TWEAKS="${GUEST_TWEAKS} -global ICH9-LPC.disable_s3=1" GUEST_TWEAKS="-no-hpet -global kvm-pit.lost_tick_policy=discard -global ICH9-LPC.disable_s3=1"
if [ -z "${disk_size}" ]; then if [ -z "${disk_size}" ]; then
disk_size="64G" disk_size="64G"

Loading…
Cancel
Save