diff options
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 5907390573..def11ea911 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -1313,7 +1313,7 @@ class BaseConfig(object): | |||
1313 | """attempt to determine the appropriate qemu-system binary""" | 1313 | """attempt to determine the appropriate qemu-system binary""" |
1314 | mach = self.get('MACHINE') | 1314 | mach = self.get('MACHINE') |
1315 | if not mach: | 1315 | if not mach: |
1316 | search = '.*(qemux86-64|qemux86|qemuarm64|qemuarm|qemumips64|qemumips64el|qemumipsel|qemumips|qemuppc).*' | 1316 | search = '.*(qemux86-64|qemux86|qemuarm64|qemuarm|qemuloongarch64|qemumips64|qemumips64el|qemumipsel|qemumips|qemuppc).*' |
1317 | if self.rootfs: | 1317 | if self.rootfs: |
1318 | match = re.match(search, self.rootfs) | 1318 | match = re.match(search, self.rootfs) |
1319 | if match: | 1319 | if match: |
@@ -1336,6 +1336,8 @@ class BaseConfig(object): | |||
1336 | qbsys = 'x86_64' | 1336 | qbsys = 'x86_64' |
1337 | elif mach == 'qemuppc': | 1337 | elif mach == 'qemuppc': |
1338 | qbsys = 'ppc' | 1338 | qbsys = 'ppc' |
1339 | elif mach == 'qemuloongarch64': | ||
1340 | qbsys = 'loongarch64' | ||
1339 | elif mach == 'qemumips': | 1341 | elif mach == 'qemumips': |
1340 | qbsys = 'mips' | 1342 | qbsys = 'mips' |
1341 | elif mach == 'qemumips64': | 1343 | elif mach == 'qemumips64': |