mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-09-20 00:02:03 +02:00
Disable Suspend to RAM (S3) if SecureBoot or SMM are enabled
This commit is contained in:
parent
a4eddaa9e5
commit
b9f90d12c3
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…
Reference in New Issue
Block a user