Skip to content

Commit 2b8d352

Browse files
committed
qemu: use 9p by default
Templates for the following distro are updated to continue using reverse-sshfs, as 9p is not available on them. - AlmaLinux - CentOS Stream - Debian - openSUSE - Oracle Linux - Rocky Linux Close issue 971 Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
1 parent d98b9ca commit 2b8d352

File tree

15 files changed

+73
-3
lines changed

15 files changed

+73
-3
lines changed

examples/almalinux-8.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ images:
1616
arch: "x86_64"
1717
- location: "https://repo.almalinux.org/almalinux/8/cloud/aarch64/images/AlmaLinux-8-GenericCloud-latest.aarch64.qcow2"
1818
arch: "aarch64"
19+
# The mount type is set to reverse-sshfs because 9p (default for QEMU) is not supported by the guest kernel. VZ users should specify `--mount-type=virtiofs` on `limactl create` for better performance.
20+
mountType: "reverse-sshfs"
1921
mounts:
2022
- location: "~"
2123
- location: "/tmp/lima"

examples/almalinux-9.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ images:
1313
arch: "x86_64"
1414
- location: "https://repo.almalinux.org/almalinux/9/cloud/aarch64/images/AlmaLinux-9-GenericCloud-latest.aarch64.qcow2"
1515
arch: "aarch64"
16+
# The mount type is set to reverse-sshfs because 9p (default for QEMU) is not supported by the guest kernel. VZ users should specify `--mount-type=virtiofs` on `limactl create` for better performance.
17+
mountType: "reverse-sshfs"
1618
mounts:
1719
- location: "~"
1820
- location: "/tmp/lima"

examples/centos-stream-9.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ images:
1414
arch: "x86_64"
1515
- location: "https://cloud.centos.org/centos/9-stream/aarch64/images/CentOS-Stream-GenericCloud-9-latest.aarch64.qcow2"
1616
arch: "aarch64"
17+
# The mount type is set to reverse-sshfs because 9p (default for QEMU) is not supported by the guest kernel. VZ users should specify `--mount-type=virtiofs` on `limactl create` for better performance.
18+
mountType: "reverse-sshfs"
1719
mounts:
1820
- location: "~"
1921
- location: "/tmp/lima"

examples/debian-11.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ images:
1414
- location: "https://cloud.debian.org/images/cloud/bullseye/latest/debian-11-genericcloud-arm64.qcow2"
1515
arch: "aarch64"
1616

17+
# The mount type is set to reverse-sshfs because 9p (default for QEMU) is not supported by the guest kernel. VZ users should specify `--mount-type=virtiofs` on `limactl create` for better performance.
18+
mountType: "reverse-sshfs"
1719
mounts:
1820
- location: "~"
1921
- location: "/tmp/lima"

examples/debian-12.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ images:
1414
- location: "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-arm64.qcow2"
1515
arch: "aarch64"
1616

17+
# The mount type is set to reverse-sshfs because 9p (default for QEMU) is not supported by the guest kernel. VZ users should specify `--mount-type=virtiofs` on `limactl create` for better performance.
18+
mountType: "reverse-sshfs"
1719
mounts:
1820
- location: "~"
1921
- location: "/tmp/lima"

examples/default.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ mounts:
9999

100100
# Mount type for above mounts, such as "reverse-sshfs" (from sshocker), "9p" (EXPERIMENTAL (until Lima v1.0), from QEMU’s virtio-9p-pci, aka virtfs),
101101
# or "virtiofs" (EXPERIMENTAL, needs `vmType: vz`)
102-
# 🟢 Builtin default: "reverse-sshfs" (for QEMU), "virtiofs" (for vz)
102+
# 🟢 Builtin default: "9p" (for QEMU, since Lima v1.0), "virtiofs" (for vz)
103103
mountType: null
104104

105105
# Enable inotify support for mounted directories (EXPERIMENTAL)

examples/experimental/opensuse-tumbleweed.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ images:
1717
- location: "https://provo-mirror.opensuse.org/ports/aarch64/tumbleweed/appliances/openSUSE-Tumbleweed-ARM-JeOS-efi.aarch64.qcow2"
1818
arch: "aarch64"
1919

20+
# The mount type is set to reverse-sshfs because 9p (default for QEMU) is not supported by the guest kernel. VZ users should specify `--mount-type=virtiofs` on `limactl create` for better performance.
21+
mountType: "reverse-sshfs"
2022
mounts:
2123
- location: "~"
2224
- location: "/tmp/lima"

examples/opensuse.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ images:
55
arch: "x86_64"
66
- location: "https://download.opensuse.org/distribution/leap/15.5/appliances/openSUSE-Leap-15.5-Minimal-VM.aarch64-Cloud.qcow2"
77
arch: "aarch64"
8+
# The mount type is set to reverse-sshfs because 9p (default for QEMU) is not supported by the guest kernel. VZ users should specify `--mount-type=virtiofs` on `limactl create` for better performance.
9+
mountType: "reverse-sshfs"
810
mounts:
911
- location: "~"
1012
- location: "/tmp/lima"

examples/oraclelinux-8.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ images:
1212
- location: "https://yum.oracle.com/templates/OracleLinux/OL8/u10/aarch64/OL8U10_aarch64-kvm-cloud-b100.qcow2"
1313
arch: "aarch64"
1414
digest: "sha256:def7b8055e275507a593f07dc6076a2adc5967af046c003072b479e69f25f407"
15+
# The mount type is set to reverse-sshfs because 9p (default for QEMU) is not supported by the guest kernel. VZ users should specify `--mount-type=virtiofs` on `limactl create` for better performance.
16+
mountType: "reverse-sshfs"
1517
mounts:
1618
- location: "~"
1719
- location: "/tmp/lima"

examples/oraclelinux-9.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ images:
99
- location: "https://yum.oracle.com/templates/OracleLinux/OL9/u4/aarch64/OL9U4_aarch64-kvm-cloud-b90.qcow2"
1010
arch: "aarch64"
1111
digest: "sha256:1f4e20190e87c76e8c3b4a9e15e660972386cbfa4f128e5cdcd8faa43a713d44"
12+
# The mount type is set to reverse-sshfs because 9p (default for QEMU) is not supported by the guest kernel. VZ users should specify `--mount-type=virtiofs` on `limactl create` for better performance.
13+
mountType: "reverse-sshfs"
1214
mounts:
1315
- location: "~"
1416
- location: "/tmp/lima"

0 commit comments

Comments
 (0)