summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/1650.toml
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-05-21 21:21:26 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-05-21 21:21:26 +0200
commit4b927bc37359dec23f67d3427fc982945f24f404 (patch)
tree245449ef9146942dc7fffd0235b48b7e70a00bf2 /gitlab/issues/target_missing/host_missing/accel_missing/1650.toml
parentaa8bd79cec7bf6790ddb01d156c2ef2201abbaab (diff)
downloadqemu-analysis-4b927bc37359dec23f67d3427fc982945f24f404.tar.gz
qemu-analysis-4b927bc37359dec23f67d3427fc982945f24f404.zip
add gitlab issues in toml format
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/1650.toml')
-rw-r--r--gitlab/issues/target_missing/host_missing/accel_missing/1650.toml22
1 files changed, 22 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/1650.toml b/gitlab/issues/target_missing/host_missing/accel_missing/1650.toml
new file mode 100644
index 000000000..9f06794ff
--- /dev/null
+++ b/gitlab/issues/target_missing/host_missing/accel_missing/1650.toml
@@ -0,0 +1,22 @@
+id = 1650
+title = "Consider doing runtime detection of MAP_FIXED_NOREPLACE"
+state = "closed"
+created_at = "2023-05-14T03:21:41.028Z"
+closed_at = "2023-05-14T03:46:50.136Z"
+labels = []
+url = "https://gitlab.com/qemu-project/qemu/-/issues/1650"
+host-os = "AOSC OS 10.1.1 \"Jinkela\""
+host-arch = "amd64"
+qemu-version = "7.2.0"
+guest-os = "n/a"
+guest-arch = "n/a"
+description = """```
+qemu-i386-static: Unable to reserve 0xfffff000 bytes of virtual address space at 0x1000 (Operation not supported) for use as guest address space (check your virtual memory ulimit setting, min_mmap_addr or reserve less using -R option)
+```
+strace says
+```
+ mmap(0x1000, 4294963200, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE|MAP_FIXED_NOREPLACE, -1, 0) = -1 EOPNOTSUPP (Operation not supported)
+```"""
+reproduce = """1. `apt install qemu-i386-static 32subsystem`
+2. `strace qemu-i386-static /opt/32/bin/as`"""
+additional = """Repeating the strace call in a minimal C program gives the same errno as expected -- the kernel is only 4.4. The problem here is that qemu only does `MAP_FIXED_NOREPLACE` feature detection at build-time via a `#ifndef` and even that behavior is poorly documented. Maybe do something at runtime?"""