mirror of
https://github.com/dockur/windows.git
synced 2026-08-03 20:47:12 +01:00
fix: Check machine type before applying q35 flags (#1948)
This commit is contained in:
+4
-2
@@ -738,8 +738,10 @@ setMachine() {
|
|||||||
|
|
||||||
case "${id,,}" in
|
case "${id,,}" in
|
||||||
"winxp"* | "win2003"* | "winvistax86"* | "win7x86"* | "win2008r2x86"* )
|
"winxp"* | "win2003"* | "winvistax86"* | "win7x86"* | "win2008r2x86"* )
|
||||||
# Prevent bluescreen if 64 bit PCI hole size is >2G.
|
if [ -z "${MACHINE:-}" ] || [[ "${MACHINE:-}" == "q35" ]]; then
|
||||||
ARGS="-global q35-pcihost.x-pci-hole64-fix=false" ;;
|
# Prevent bluescreen if 64 bit PCI hole size is >2G.
|
||||||
|
ARGS="-global q35-pcihost.x-pci-hole64-fix=false"
|
||||||
|
fi ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user