mirror of
https://github.com/systemd/systemd.git
synced 2024-12-26 03:22:00 +03:00
vmspawn: define QEMU_MACHINE_TYPE for loongarch64
Use ["virt"](https://www.qemu.org/docs/master/system/loongarch/virt.html) as a commonly used generic platform on loongarch64.
(cherry picked from commit 6efab8c343
)
This commit is contained in:
parent
ba28889c65
commit
59ab01d32f
@ -34,7 +34,7 @@
|
||||
|
||||
#if defined(__x86_64__) || defined(__i386__)
|
||||
# define QEMU_MACHINE_TYPE "q35"
|
||||
#elif defined(__arm__) || defined(__aarch64__) || defined(__riscv)
|
||||
#elif defined(__arm__) || defined(__aarch64__) || defined(__riscv) || defined(__loongarch64)
|
||||
# define QEMU_MACHINE_TYPE "virt"
|
||||
#elif defined(__s390__) || defined(__s390x__)
|
||||
# define QEMU_MACHINE_TYPE "s390-ccw-virtio"
|
||||
|
Loading…
Reference in New Issue
Block a user