mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Add SMM support, enabled by default for Windows guests
This commit is contained in:
parent
b6db417b81
commit
a4eddaa9e5
1 changed files with 4 additions and 1 deletions
5
quickemu
5
quickemu
|
@ -218,6 +218,8 @@ function vm_boot() {
|
|||
local MOUSE="usb-tablet"
|
||||
local NET_DEVICE="virtio-net"
|
||||
local OSK=""
|
||||
local QEMU_VER=""
|
||||
local SMM="off"
|
||||
local USB_HOST_PASSTHROUGH_CONTROLLER="qemu-xhci"
|
||||
local VIDEO=""
|
||||
|
||||
|
@ -478,6 +480,7 @@ function vm_boot() {
|
|||
if [ -z "${disk_size}" ]; then
|
||||
disk_size="64G"
|
||||
fi
|
||||
SMM="on"
|
||||
;;
|
||||
*)
|
||||
CPU="-cpu host,kvm=on"
|
||||
|
@ -759,7 +762,7 @@ function vm_boot() {
|
|||
|
||||
# shellcheck disable=SC2054,SC2206,SC2140
|
||||
args+=(-name ${VMNAME},process=${VMNAME} -pidfile "${VMDIR}/${VMNAME}.pid"
|
||||
-enable-kvm -machine q35,vmport=off ${GUEST_TWEAKS}
|
||||
-enable-kvm -machine q35,smm=${SMM},vmport=off ${GUEST_TWEAKS}
|
||||
${CPU} ${SMP}
|
||||
-m ${RAM_VM} ${BALLOON}
|
||||
-smbios type=2,manufacturer="Wimpys World",product="Quickemu",version="${VERSION}",serial="jvzclfjbeyq.pbz",location="wimpysworld.com",asset="${VMNAME}"
|
||||
|
|
Loading…
Reference in a new issue