summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/2925.toml
blob: afdffc1ca8271914661bc57d786f2121904bc93b (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
28
29
30
31
32
33
34
35
id = 2925
title = "Cannot exec certain QMP guest commands using unix socket but Virsh can"
state = "opened"
created_at = "2025-04-19T07:02:22.405Z"
closed_at = "n/a"
labels = []
url = "https://gitlab.com/qemu-project/qemu/-/issues/2925"
host-os = "Centos 8.5"
host-arch = "x86_64"
qemu-version = "4.2.0"
guest-os = "Win7"
guest-arch = "x86"
description = """There are two channels configured to communicate the guest. 
 - a) qemu.guest_agent.0
 - b) unix socket: -qmp unix:/tmp/qmp_win7-101.sock,server,nowait


**For unix socket connection, certain commands like ```guest-info``` and other guest functions are missing.** However, invoking guest-xx functions successfully in Virsh (through qemu.guest_agent.0)."""
reproduce = """```
$sudo socat unix-connect:/tmp/qmp_win7-101.sock readline
{"QMP": {"version": {"qemu": {"micro": 0, "minor": 2, "major": 4}, "package": "qemu-kvm-4.2.0-59.module_el8.5.0+1063+c9b9feff.1"}, "capabilities": ["oob"]}}

{"execute":"qmp_capabilities"}
{"return": {}}

{"execute": "guest-info"}
{"error": {"class": "CommandNotFound", "desc": "The command guest-info has not been found"}}
```

I checked ```/etc/sysconfig/qemu-ga``` and unmarked blacklist functions, but it did not solve this problem.
```
# original contents of qemu-ga
#BLACKLIST_RPC=guest-file-open,guest-file-close,guest-file-read,guest-file-write,guest-file-seek,guest-file-flush,guest-exec,guest-exec-status
```"""
additional = "n/a"