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() {
397
397
fi
398
398
fi
399
399
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
+
400
405
case ${guest_os} in
401
406
batocera|freedos|haiku|solaris) MACHINE_TYPE=" pc" ;;
402
407
kolibrios|reactos)
@@ -1181,7 +1186,7 @@ function vm_boot() {
1181
1186
args+=(-name ${VMNAME} ,process=${VMNAME} )
1182
1187
fi
1183
1188
# 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}
1185
1190
${CPU} ${SMP}
1186
1191
-m ${RAM_VM} ${BALLOON}
1187
1192
-rtc base=localtime,clock=host,driftfix=${driftfix}
You can’t perform that action at this time.
0 commit comments