mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
vmspawn: define QEMU_MACHINE_TYPE for riscv
Use ["virt"](https://www.qemu.org/docs/master/system/target-riscv.html#board-specific-documentation) as a commonly used generic platform on riscv.
This commit is contained in:
parent
3176c78e68
commit
5f7136a369
@ -34,7 +34,7 @@
|
||||
|
||||
#if defined(__x86_64__) || defined(__i386__)
|
||||
# define QEMU_MACHINE_TYPE "q35"
|
||||
#elif defined(__arm__) || defined(__aarch64__)
|
||||
#elif defined(__arm__) || defined(__aarch64__) || defined(__riscv)
|
||||
# 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