summaryrefslogtreecommitdiffstats
path: root/src/vmspawn
diff options
context:
space:
mode:
authorHenry Chen <henry.chen@oss.cipunited.com>2024-07-05 05:19:35 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2024-07-08 13:03:41 +0200
commit3bff57b7651caab41021dbcdf658c1a92c8fdf52 (patch)
treed7c003daba985c56227c22518aaef467ef729324 /src/vmspawn
parentMerge pull request #33640 from DaanDeMeyer/ext4-split (diff)
downloadsystemd-3bff57b7651caab41021dbcdf658c1a92c8fdf52.tar.xz
systemd-3bff57b7651caab41021dbcdf658c1a92c8fdf52.zip
vmspawn: define default machines for mips targets
All mips variants of qemu-system default to malta. Signed-off-by: Henry Chen <henry.chen@oss.cipunited.com> Signed-off-by: Henry Chen <chenx97@aosc.io>
Diffstat (limited to 'src/vmspawn')
-rw-r--r--src/vmspawn/vmspawn-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vmspawn/vmspawn-util.h b/src/vmspawn/vmspawn-util.h
index b0e1ea3c0b..76969abcf1 100644
--- a/src/vmspawn/vmspawn-util.h
+++ b/src/vmspawn/vmspawn-util.h
@@ -40,6 +40,8 @@
# define QEMU_MACHINE_TYPE "s390-ccw-virtio"
#elif defined(__powerpc__) || defined(__powerpc64__)
# define QEMU_MACHINE_TYPE "pseries"
+#elif defined(__mips__)
+# define QEMU_MACHINE_TYPE "malta"
#else
# error "No qemu machine defined for this architecture"
#endif