Fixed boot problems and logic correction in FreeDOS support. Fixes #382 (#421)

* minor correction in freedos

* freedos fix - boot problems needed smm on
pull/403/head
Phil Clifford 3 years ago committed by GitHub
parent 5bc27ee469
commit 09a707846c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      build-docs
  2. 8
      quickemu

@ -1 +1 @@
Subproject commit 87be39d8b8fc18b2d19012e602c19597e640fb1f
Subproject commit 3ede604a11b7a666f91bb19705d32d73fb0bd4d7

@ -476,6 +476,12 @@ function vm_boot() {
NET_DEVICE="rtl8139"
fi
if [ "${guest_os}" == "freedos" ] ; then
# fix for #382
SMM="on"
fi
if [ -z "${disk_size}" ]; then
disk_size="16G"
fi
@ -933,7 +939,7 @@ function vm_boot() {
args+=(-drive media=cdrom,index=1,file="${fixed_iso}")
fi
if [ -n "{iso}" ] && [ "${guest_os}" == "freedos" ]; then
if [ -n "${iso}" ] && [ "${guest_os}" == "freedos" ]; then
# FreeDOS reboots after partitioning the disk, and QEMU tries to boot from disk after first restart
# This flag sets the boot order to cdrom,disk. It will persist until powering down the VM
args+=(-boot order=dc)

Loading…
Cancel
Save