-
Notifications
You must be signed in to change notification settings - Fork 683
Open
Labels
Description
Lines 321 to 340 in 94ed78c
vmOpts: | |
qemu: | |
# Minimum version of QEMU required to create an instance of this template. | |
# Will be ignored if the vmType is not "qemu" | |
# 🟢 Builtin default: not set | |
minimumVersion: null | |
# OS: "Linux". | |
# 🟢 Builtin default: "Linux" | |
os: null | |
# Specify desired QEMU CPU type for each arch. | |
# You can see what options are available for host emulation with: `qemu-system-$(arch) -cpu help`. | |
# Setting of instructions is supported like this: "qemu64,+ssse3". | |
# 🟢 Builtin default: hard-coded arch map with type (see the output of `limactl info | jq .defaultTemplate.cpuType`) | |
cpuType: | |
# aarch64: "cortex-a76" # (or "host" when running on aarch64 host) | |
# armv7l: "cortex-a7" # (or "host" when running on armv7l host) | |
# riscv64: "rv64" # (or "host" when running on riscv64 host) | |
# x86_64: "qemu64" # (or "host,-pdpe1gb" when running on x86_64 host) |
cpuType
is specific to QEMU and not portable to other VM drivers, so it should be moved to vmOpts.qemu
.
The structure definition and the implementation should be moved from pkg/limayaml
to pkg/qemu
too.
For compatibility the old form should continue to be supported for a while.