diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-05-21 21:21:26 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-05-21 21:21:26 +0200 |
| commit | 4b927bc37359dec23f67d3427fc982945f24f404 (patch) | |
| tree | 245449ef9146942dc7fffd0235b48b7e70a00bf2 /gitlab/issues/target_missing/host_missing/accel_missing/2437.toml | |
| parent | aa8bd79cec7bf6790ddb01d156c2ef2201abbaab (diff) | |
| download | qemu-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/2437.toml')
| -rw-r--r-- | gitlab/issues/target_missing/host_missing/accel_missing/2437.toml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/2437.toml b/gitlab/issues/target_missing/host_missing/accel_missing/2437.toml new file mode 100644 index 000000000..c3c1dc696 --- /dev/null +++ b/gitlab/issues/target_missing/host_missing/accel_missing/2437.toml @@ -0,0 +1,49 @@ +id = 2437 +title = "qm terminal VMID return \"Inappropriate ioctl for device\" when spawned by an another process" +state = "closed" +created_at = "2024-07-15T01:21:03.551Z" +closed_at = "2024-07-15T14:06:45.575Z" +labels = [] +url = "https://gitlab.com/qemu-project/qemu/-/issues/2437" +host-os = "proxmox 8.2.1" +host-arch = "x86" +qemu-version = "8.1.5-5" +guest-os = "Ubuntu" +guest-arch = "x86" +description = """as i dont want to mess with vnc i want to use qm terminal to interact with my vms and it doesnt work im currently using nodejs as a test heres the code if anybody wanna try it +```js +import { spawn } from "child_process"; +var child = spawn('qm', ["terminal", "100"]); + +child.stdout.setEncoding('utf8'); +child.stdin.setDefaultEncoding("utf8"); +child.stdout.on('data', function (data) { + console.log('stdout: ' + data.trim()); +}); + +child.stderr.setEncoding('utf8'); +child.stderr.on('data', function (data) { + console.log('stderr: ' + data.trim()); +}); + +child.on('close', function (code) { + console.log('closing code: ' + code); +}); + +setInterval(() => { + child.stdin.write("\\n"); +}, 5000); +``` +its just spawning qm terminal and sending return every 5 seconds + +it seems to start but crash + +"Inappropriate ioctl for device" + +{width=478 height=48} + +maybe its not the place to put that but i have no clue so here am i + +At least i tryed spawning something else my code is working""" +reproduce = "n/a" +additional = "n/a" |