feat: Improve machine checking (#1959)

This commit is contained in:
Kroese
2026-07-25 14:47:34 +02:00
committed by GitHub
parent 3d9ede8852
commit bc17fdfe74
+1 -1
View File
@@ -752,7 +752,7 @@ setMachine() {
case "${id,,}" in case "${id,,}" in
"winxp"* | "win2003"* | "winvistax86"* | "win7x86"* | "win2008r2x86"* ) "winxp"* | "win2003"* | "winvistax86"* | "win7x86"* | "win2008r2x86"* )
if [ -z "${MACHINE:-}" ] || [[ "${MACHINE:-}" == "q35" ]]; then if isQ35 "${MACHINE:-q35}"; then
# Prevent bluescreen if 64 bit PCI hole size is >2G. # Prevent bluescreen if 64 bit PCI hole size is >2G.
ARGS="-global q35-pcihost.x-pci-hole64-fix=false" ARGS="-global q35-pcihost.x-pci-hole64-fix=false"
fi ;; fi ;;