summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index f52b9a82ea..409d17c648 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1118,6 +1118,11 @@ class BaseConfig(object):
1118 qbsys = 'riscv64' 1118 qbsys = 'riscv64'
1119 elif mach == 'qemuriscv32': 1119 elif mach == 'qemuriscv32':
1120 qbsys = 'riscv32' 1120 qbsys = 'riscv32'
1121 else:
1122 logger.error("Unable to determine QEMU PC System emulator for %s machine." % mach)
1123 logger.error("As %s is not among valid QEMU machines such as," % mach)
1124 logger.error("qemux86-64, qemux86, qemuarm64, qemuarm, qemumips64, qemumips64el, qemumipsel, qemumips, qemuppc")
1125 raise RunQemuError("Set qb_system_name with suitable QEMU PC System emulator in .*qemuboot.conf.")
1121 1126
1122 return 'qemu-system-%s' % qbsys 1127 return 'qemu-system-%s' % qbsys
1123 1128