diff options
author | Henry Chen <henry.chen@oss.cipunited.com> | 2024-07-05 05:19:35 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-07-08 13:03:41 +0200 |
commit | 3bff57b7651caab41021dbcdf658c1a92c8fdf52 (patch) | |
tree | d7c003daba985c56227c22518aaef467ef729324 /src/vmspawn | |
parent | Merge pull request #33640 from DaanDeMeyer/ext4-split (diff) | |
download | systemd-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.h | 2 |
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 |