fix: Enable USB for legacy machines (#824)
Some checks failed
Build / Test (push) Has been cancelled
Build / Build (push) Has been cancelled

This commit is contained in:
Kroese 2024-10-20 16:39:42 +02:00 committed by GitHub
parent bc614fd233
commit 80dead1446
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2123,12 +2123,10 @@ setMachine() {
case "${id,,}" in case "${id,,}" in
"win9"* | "win2k"* ) "win9"* | "win2k"* )
USB="None"
DISK_TYPE="auto" DISK_TYPE="auto"
MACHINE="pc-i440fx-2.4" MACHINE="pc-i440fx-2.4"
BOOT_MODE="windows_legacy" ;; BOOT_MODE="windows_legacy" ;;
"winxp"* | "win2003"* ) "winxp"* | "win2003"* )
USB="None"
DISK_TYPE="blk" DISK_TYPE="blk"
BOOT_MODE="windows_legacy" BOOT_MODE="windows_legacy"
# Prevent bluescreen if 64 bit PCI hole size is >2G. # Prevent bluescreen if 64 bit PCI hole size is >2G.