summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/2292.toml
blob: 96d0673c8be1f16c7c491b48ea4cbd8ec150a1f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
id = 2292
title = "UNIX socket path is too long"
state = "closed"
created_at = "2024-04-18T18:35:37.830Z"
closed_at = "2024-04-19T05:14:39.927Z"
labels = []
url = "https://gitlab.com/qemu-project/qemu/-/issues/2292"
host-os = "macOS (currently reported, might affect other *NIX OSes)"
host-arch = "N/a"
qemu-version = "at least 7.2.0 onwards up until 8.0.0"
guest-os = "Not applicable"
guest-arch = "N/a"
description = """At [Unikraft](https://unikraft.org) we facilitate the construction and also runtime lifecycle management of ultra-lightweight virtual machine unikernels.  We have developed [`kraft`](https://github.com/unikraft/kraftkit), an open-source tool which facilitates this across a number of different virtual machine monitors, [including QEMU](https://github.com/unikraft/kraftkit/tree/staging/machine/qemu).

We are receiving increased reports of the following error from our users:

```
could not start and wait for QEMU process: qemu-system-x86_64: -qmp unix:/Users/__USERNAME__/.local/share/kraftkit/runtime/37a7691a-d402-4760-b493-692bb8d0460a/qemu_control.sock,server,nowait: UNIX socket path '/Users/__USERNAME__/.local/share/kraftkit/runtime/37a7691a-d402-4760-b493-692bb8d0460a/qemu_control.sock' is too long
```

We systematically build the relevant QEMU process command line and arguments with flags [via our Go SDK](https://github.com/unikraft/kraftkit/blob/staging/machine/qemu/v1alpha1.go#L180-L229) and include what has become an erroneously long UNIX path for the QAPI control socket which we use to manage instantiated VM instances.

This issue tracks the increasing of maximum path length for the `-qmp` (and maybe other) flags which accept paths."""
reproduce = """1. Install [`kraft`](https://github.com/unikraft/kraftkit), [Unikraft](https://unikraft.org)'s companion command-line client;
2. Update KraftKit's config file to include an arbitrarily long path for `runtime_dir` by editing `~/.config/kraftkit/config.yaml`;
3. Start a QEMU unikernel instance with `kraft run --arch x86_64 --plat qemu unikraft.org/helloworld:latest`"""
additional = """"""