Skip to content

Commit cb81cfc

Browse files
authored
Merge pull request #4131 from AkihiroSuda/docs
docs: fix links, add more GHA examples
2 parents ccc3adf + da9f98b commit cb81cfc

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

pkg/driver/qemu/qemu.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ type Config struct {
5858
// softMin must be >= hardMin.
5959
//
6060
// When updating this function, make sure to update
61-
// `website/content/en/docs/config/vmtype.md` too.
61+
// `website/content/en/docs/config/vmtype/qemu.md` too.
6262
func minimumQemuVersion() (hardMin, softMin semver.Version) {
6363
var h, s string
6464
switch runtime.GOOS {

website/content/en/docs/examples/gha.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,18 @@ The `--plain` mode is useful when you want the VM instance to be as close as pos
8080
```
8181

8282
### Full examples
83-
- https://github.com/kubernetes-sigs/kind/blob/v0.25.0/.github/workflows/vm.yaml#L47-L84
83+
Kubernetes:
84+
- [kind, for running tests with SELinux using Fedora](https://github.com/kubernetes-sigs/kind/blob/v0.30.0/.github/workflows/vm.yaml#L46-L71)
85+
- [Usernetes, for running tests with multiple nodes](https://github.com/rootless-containers/usernetes/blob/gen2-v20250828.0/.github/workflows/reusable-multi-node.yaml#L52-L61)
86+
87+
Container engines:
88+
- [Docker (Moby), for running tests with cgroup v1 using Oracle Linux 8 ](https://github.com/moby/moby/blob/master/.github/workflows/.vm.yml)
89+
- [nerdctl, for running tests with cgroup v1 using AlmaLinux 8](https://github.com/containerd/nerdctl/blob/v2.1.6/.github/workflows/job-test-in-lima.yml)
90+
91+
Container runtimes:
92+
- [runc, for running tests with SELinux using Fedora](https://github.com/opencontainers/runc/blob/v1.3.2/.github/workflows/test.yml#L182-L202)
93+
- [opencontainers/selinux, for running tests with SELinux using AlmaLinux, CentOS Stream, Fedora, and openSUSE](https://github.com/opencontainers/selinux/blob/v1.12.0/.github/workflows/validate.yml#L106-L133)
94+
- [youki, for running tests with cgroup v1 using AlmaLinux 8](https://github.com/youki-dev/youki/blob/v0.5.5/.github/workflows/e2e.yaml#L206-L227)
95+
96+
Others:
97+
- [uutils coreutils, for running tests with SELinux using Fedora](https://github.com/uutils/coreutils/blob/0.2.2/.github/workflows/GnuTests.yml#L190-L225)

website/content/en/docs/faq/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Note: **Only** on macOS versions **before** 10.15.7 you might need to add this e
170170
#### "QEMU is slow"
171171
{{% fixlinks %}}
172172
- Make sure that HVF is enabled with `com.apple.security.hypervisor` entitlement. See ["QEMU crashes with `HV_ERROR`"](#qemu-crashes-with-hv_error).
173-
- Emulating non-native machines (ARM-on-Intel, Intel-on-ARM) is slow by design. See [`docs/multi-arch.md`]({{< ref "/docs/config/multi-arch" >}}) for a workaround.
173+
- Emulating non-native machines is slow by design. See [`Configuration guide » Intel-on-ARM and ARM-on-Intel`]({{< ref "/docs/config/multi-arch" >}}) for a workaround.
174174
{{% /fixlinks %}}
175175

176176
#### error "killed -9"
@@ -195,7 +195,7 @@ The default guest IP 192.168.5.15 is not accessible from the host and other gues
195195

196196
To add another IP address that is accessible from the host and other virtual machines, enable [`socket_vmnet`](https://github.com/lima-vm/socket_vmnet) (since Lima v0.12).
197197

198-
See [`docs/network.md`]({{< ref "/docs/config/network" >}}).
198+
See [`Configuration guide » Network`]({{< ref "/docs/config/network" >}}).
199199
{{% /fixlinks %}}
200200

201201
#### "Ping shows duplicate packets and massive response times"
@@ -221,7 +221,7 @@ sudo /usr/libexec/ApplicationFirewall/socketfilterfw --unblock /usr/libexec/boot
221221
### Filesystem sharing
222222
#### "Filesystem is slow"
223223
{{% fixlinks %}}
224-
Try virtiofs. See [`docs/mount.md`]({{< ref "/docs/config/mount" >}})
224+
Try virtiofs. See [`Configuration guide » Filesystem mounts`]({{< ref "/docs/config/mount" >}})
225225
{{% /fixlinks %}}
226226

227227
#### "Filesystem is not writable"

0 commit comments

Comments
 (0)