File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -397,6 +397,11 @@ function configure_cpu() {
397397 fi
398398 fi
399399
400+ # smm and vmport are not available on qemu-system-aarch64
401+ if [ " ${ARCH_QEMU} " == " x86_64" ]; then
402+ MACHINE_TYPE+=" ,smm=${SMM} ,vmport=off"
403+ fi
404+
400405 case ${guest_os} in
401406 batocera|freedos|haiku|solaris) MACHINE_TYPE=" pc" ;;
402407 kolibrios|reactos)
@@ -1181,7 +1186,7 @@ function vm_boot() {
11811186 args+=(-name ${VMNAME} ,process=${VMNAME} )
11821187 fi
11831188 # shellcheck disable=SC2054,SC2206,SC2140
1184- args+=(-machine ${MACHINE_TYPE} ,smm= ${SMM} ,vmport=off, accel=${QEMU_ACCEL} ${GUEST_TWEAKS}
1189+ args+=(-machine ${MACHINE_TYPE} ,accel=${QEMU_ACCEL} ${GUEST_TWEAKS}
11851190 ${CPU} ${SMP}
11861191 -m ${RAM_VM} ${BALLOON}
11871192 -rtc base=localtime,clock=host,driftfix=${driftfix}
You can’t perform that action at this time.
0 commit comments