102 Commits
Author SHA1 Message Date
Akihiro Suda 97c29d62e8 docs/README.md: add a link to ../website/content/en/docs/
The document source was hard to find.

Discussed in discussion 5442
Alternative to issue 4899

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2026-09-02 02:55:45 +09:00
Akihiro Suda 123beb70de rm docs/*.md; add docs/README.md for the website link
Two years have passed since migrating the *.md contents to the website,
so the *.md files no longer need to be kept.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2025-09-23 13:58:46 +09:00
Akihiro Suda 88ec857eef docs/internals.md: fix a broken symlink
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-12-25 19:20:14 +09:00
Adam Korczynski a12ed596a1 Add fuzzing audit report
Signed-off-by: Adam Korczynski <adam@adalogics.com>
2024-09-23 22:05:47 +01:00
Akihiro Suda 6e68d14f9f docs/{deprecated,experimental}.md: add the links to the new URLs
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-09-21 02:10:16 +09:00
Akihiro Suda 7fb0e5e684 mv docs/{deprecated,experimental}.md https://lima-vm.io/docs/releases/
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-09-21 02:10:13 +09:00
Akihiro Suda 604613629d Merge pull request #1811 from AkihiroSuda/deprecate-show-ssh
limactl: deprecate `limactl show-ssh` (Use `ssh -F ...` instead)
2023-09-21 02:09:50 +09:00
Akihiro Suda 2b5afd0c73 typo
Fix 9514306f96

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-09-20 02:42:11 +09:00
Akihiro Suda d1f11dcc84 limactl: deprecate limactl show-ssh (Use ssh -F ... instead)
`limactl show-ssh` is now deprecated.
Instead, use `ssh -F ~/.lima/default/ssh.config lima-default` .

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-09-19 15:02:40 +09:00
Akihiro Suda 9514306f96 docs/{mount,multi-arch,network,vmtype}.md: add the links to the URLs
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-09-19 14:13:07 +09:00
Akihiro Suda c9a53ae3e8 mv docs/{mount,multi-arch,network,vmtype}.md https://lima-vm.io/docs/config/
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-09-19 14:10:19 +09:00
Akihiro Suda dd69493c5a Merge pull request #1806 from AkihiroSuda/mv-docs-internals.md
mv docs/internals.md https://lima-vm.io/docs/dev/internals/
2023-09-19 11:37:17 +09:00
Akihiro Suda bd2c1fa8a3 docs/internals.md: add a symlink to the new file
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-09-19 02:58:02 +09:00
Akihiro Suda d6da9e7f8d mv docs/internals.md https://lima-vm.io/docs/dev/internals/
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-09-19 02:57:50 +09:00
Akihiro Suda e29ed97f0a docs/talks.md: add the link to the new URL
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-09-19 02:49:47 +09:00
Akihiro Suda 9c46c68a45 mv docs/talks.md https://lima-vm.io/docs/talks/
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-09-19 02:42:08 +09:00
Justin Alvarez 9ed9bbc111 feat: add WSL2 driver
Signed-off-by: Justin Alvarez <alvajus@amazon.com>
2023-09-05 14:14:47 -04:00
Akihiro Suda ab3142be91 Merge pull request #1736 from afbjorklund/guest-home
Add variable for the guest home directory
2023-08-16 12:03:36 +09:00
Anders F Björklund b9e5e6529b Add variable for the guest home directory
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
2023-08-12 13:40:18 +02:00
Anders F Björklund ce1ea792fc Add OS to lima.yaml for future guests
Avoid hardcoding "linux" everywhere, use OS instead (like Arch).

TODO: Add proper cidata template parameter for LIMA_CIDATA_HOME

Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
2023-08-12 13:17:40 +02:00
Akihiro Suda f15d17f65e docs: add socketfilterfw --unblock /usr/libexec/bootpd for vmnet issues
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-08-03 01:02:23 +09:00
Akihiro Suda 5bac4c5cd6 qemu: armv7l, aarch64: add pci-serial
On armv7l, dmesg is not shown in the default serial (ttyAMA0).
On aarch64, dmesg is still shown but cloud-init logs are not shown.

Add `pci-serial` device to enable ttyS0.

The default ttyAMA0 is still kept to show UEFI logs.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-08-01 15:02:55 +09:00
Akihiro Suda da0e628e34 limactl (create|start|edit): add --video=<bool>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-07-31 03:12:19 +09:00
Akihiro Suda 3b8e0cebb4 limactl: add --cpus, --memory, --mount-type, --vm-type, ...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-07-26 16:40:12 +09:00
Akihiro Suda 682e9a9845 docs/vmtype.md: vz: Linux 6.2 incompatibility is fixed in macOS 13.5
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-07-25 18:31:16 +09:00
Akihiro Suda 3ea75bf1c3 qemu, vz: connect virtio serial to serialv.log
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-07-21 17:49:24 +09:00
Anders F Björklund e27305f889 Add support for armv7l architecture
Currently only ubuntu-lts runs, some issue with ubuntu images.

And there is no nerdctl-full for arm-v7, only nerdctl images.

Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
2023-06-20 17:50:41 +02:00
Ryan Gonzalez 6323939f21 qemu: Add virtiofs support on Linux
This adds support for using virtiofs to mount filesystems on Linux
hosts, via QEMU's vhost-user-fs-pci device + the Rust implementation of
virtiofsd. In a simple "benchmark" running sha256sum on a copy of the
Windows 11 ARM64 VHDK (because it's a large file I randomly had lying
around):

- reverse-sshfs took ~21s
- 9p took ~13-15s
- virtiofs took ~6-7s

(For comparison, running it directly on the host system took ~5s.)

This is marked as "experimental" because it has undergone testing
by...me and relies on additional tools installed other than just QEMU.

Unfortunately, this does *not* include support for DAX, because that's
not merged into upstream QEMU yet, making it rather difficult to test.

Ref. #20.

Signed-off-by: Ryan Gonzalez <git@refi64.dev>
2023-06-16 20:08:03 -05:00
Akihiro Suda 9579659ff4 vz: enable virtiofs by default
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-06-06 20:40:58 +09:00
Akihiro Suda 97e5fc1635 vz: add a note about kernel v6.2 (used by Ubuntu 23.04, Fedora 38, etc.)
For issue 1577

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-05-28 04:27:13 +09:00
Akihiro Suda aa6f96dad5 Mark limactl snapshot experimental
Due to issue 1569

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-05-23 23:26:50 +09:00
Akihiro Suda 8575d72fd6 Mark audio.device experimental
The design is still subject to change (PR 1536)

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-05-22 09:27:30 +09:00
Akihiro Suda d32b97c3f6 Merge pull request #1549 from AkihiroSuda/talks-202305
docs/talks.md: update
2023-05-20 02:15:16 +09:00
Akihiro Suda bebbd09ee5 net-user-v2: improve docs
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-05-19 10:13:21 +09:00
Akihiro Suda c6db0338de docs/talks.md: update
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-05-18 23:36:41 +09:00
Balaji Vijayakumar 800e4500f5 Support for lima usernet network
Signed-off-by: Balaji Vijayakumar <kuttibalaji.v6@gmail.com>
2023-04-21 10:57:22 +05:30
Jan Dubois f94c8ece15 Merge pull request #1405 from pendo324/additional-disk-vz-support
feat: mount additional disks when using vz
2023-03-27 08:38:09 -07:00
Anders F Björklund e12e71cbfa Add builtin yq support to limactl edit command
Also add --tty parameter, similar to the start command,
for avoiding user interaction asking whether to start it.

Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
2023-03-25 09:55:30 +01:00
Justin Alvarez eca1613396 feat: mount additional disks when using vz
Signed-off-by: Justin Alvarez <alvajus@amazon.com>
2023-03-20 11:51:00 -04:00
Anders F Björklund 511ce35b9a Add builtin yq support to lima start command
Allows modifying the template inplace for a single instance, if you
don't want to change the default or override for all instances.

There are currently some quirks with the modified yaml syntax,
like removing empty lines or adding indentation on sequences...

Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
2023-02-15 07:56:54 +01:00
Anders F Björklund 8f88336687 Make the vnc display feature as experimental
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
2023-02-11 17:00:12 +01:00
Anders F Björklund f495817a4b Add VNC video display including password
The other display options open a window always, while the
vnc is more "on demand" by using a separate vnc viewer.

Add localhost and password support for some minimal security.
The password is generated, and is stored as an instance file.

Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
2023-02-11 16:58:01 +01:00
Akihiro Suda b48f544166 Write ~/.lima/<INSTANCE>/ssh.config
```console
$ limactl ls --format='{{.SSHConfigFile}}' default
/Users/example/.lima/default/ssh.config
```

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-01-30 22:16:46 +09:00
Balaji Vijayakumar 714be8ef24 support socket_vmnet for vz driver
Signed-off-by: Balaji Vijayakumar <kuttibalaji.v6@gmail.com>
2023-01-07 10:49:51 +05:30
Akihiro Suda 25cd97ed4a vz: validate disk format
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-12-14 14:07:27 +09:00
Akihiro Suda c1368f45d9 docs: update
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-12-12 21:57:33 +09:00
Akihiro Suda 9d822a291e vmnet: support detecting Homebrew's socket_vmnet path
On Homebrew environments, socket_vmnet is installed on:
- /usr/local/opt/socket_vmnet/Cellar/<VERSION>/bin/socket_vmnet (Intel)
- /opt/homebrew/opt/socket_vmnet/Cellar/<VERSION>/bin/socket_vmnet (ARM)

The binary is usually owned by a non-root admin user. (i.e., the homebrew user)
The group is typically set to "admin".

https://github.com/Homebrew/homebrew-core/commit/636ac0700e011b23c3e41cc4176b30e01a3af5ae

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-12-12 16:29:50 +09:00
Akihiro Suda 8767e7b3c3 vz: support .[]networks.vzNAT networking
Introduces a new YAML property `.[]networks.vzNAT` for enabling `VZNATNetworkDeviceAttachment`.
No root privilege is needed.

`.[]networks.lima` is reserved for future support of `socket_vmnet` for VZ.

Fix issue 1161
Replaces PR 1206

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-11-25 22:35:21 +09:00
Balaji Vijayakumar cbc6946544 support for driver specific pid files
Signed-off-by: Balaji Vijayakumar <kuttibalaji.v6@gmail.com>
2022-11-18 15:06:39 +05:30
Akihiro Suda c18ae239b6 vz: update docs
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-11-16 15:34:21 +09:00