Files
lima/templates
Sharan Raj T f3407cac7f qemu: support nestedVirtualization
Add support for `nestedVirtualization` in the QEMU driver:

- On macOS (aarch64, HVF): requires QEMU 11.1.0 or later and macOS 15 or
  later (Apple M3 or later). QEMU 11.1 added nested virtualization support
  to HVF for the aarch64 `virt` machine using `hv_vm_config_set_el2_enabled`
  (https://wiki.qemu.org/ChangeLog/11.1). Enabled by appending
  `virtualization=on` to the `-machine virt` option.
- On Linux (aarch64, KVM): requires QEMU 10.1.0 or later and a host kernel
  (6.16 or later) booted with `kvm-arm.mode=nested`. Enabled by appending
  `virtualization=on` to the `-machine virt` option.
- On Linux (x86_64, KVM): verifies that nested virtualization is enabled
  in the host KVM module (`kvm_intel` or `kvm_amd` parameter `nested`) and
  that CPU type `host` is used.

For unsupported architectures or accelerators, a warning is logged and
the field is ignored.

Tested on Apple M4 / macOS 26.5 with QEMU 11.1.0: the guest kernel
initializes KVM in nVHE mode and a nested KVM VM boots EDK2 to the
UEFI shell.

Fix #5419

Signed-off-by: Sharan Raj T <sharanrajtm@gmail.com>
2026-09-15 12:14:32 +05:30
..
2026-08-30 15:13:43 +01:00
2025-06-04 20:44:55 -05:00
2026-03-01 21:02:19 +09:00
2026-08-01 20:24:36 +02:00
2026-03-16 18:24:46 +09:00
2026-03-06 00:53:45 +09:00
2026-02-24 13:46:06 +09:00
2025-10-21 13:34:23 +02:00
2026-08-30 15:13:43 +01:00
2025-06-20 15:41:45 +09:00
2026-04-25 03:56:19 +09:00

Quick usage

To create and start a new instance from the template fedora:

# Note: In Lima 1.x, template URLs included leading slashes, e.g. `template://fedora`.
limactl create template:fedora
limactl start fedora

or

limactl start template:fedora
# For the second time onward, just run `limactl start fedora`

To open a shell:

limactl shell fedora

or

export LIMA_INSTANCE=fedora
lima

Template list

⭐ = "Tier 1"

☆ = "Tier 2"

Default

  • default (⭐Ubuntu, with containerd/nerdctl)

Linux distributions

Non-Linux

NOTE: support for non-Linux OSes is experimental.

Alternative package managers

Containers

Container engines

Container image builders

Container orchestration

AI agents

See https://lima-vm.io/docs/examples/ai/.

Optional feature enablers

Lost+found

Details

Tier

  • "Tier 1" (marked with ⭐): Good stability. Regularly tested on the CI.
  • "Tier 2" (marked with ☆): Moderate stability. Regularly tested on the CI.

Other templates are tested only occasionally and manually.