diff options
Diffstat (limited to 'results/classifier/zero-shot/118/socket/2925')
| -rw-r--r-- | results/classifier/zero-shot/118/socket/2925 | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/results/classifier/zero-shot/118/socket/2925 b/results/classifier/zero-shot/118/socket/2925 new file mode 100644 index 00000000..b097a31c --- /dev/null +++ b/results/classifier/zero-shot/118/socket/2925 @@ -0,0 +1,55 @@ +socket: 0.860 +device: 0.796 +architecture: 0.718 +ppc: 0.642 +PID: 0.620 +graphic: 0.612 +network: 0.594 +semantic: 0.573 +VMM: 0.543 +KVM: 0.541 +vnc: 0.537 +hypervisor: 0.531 +risc-v: 0.506 +files: 0.487 +x86: 0.473 +kernel: 0.470 +performance: 0.464 +arm: 0.458 +TCG: 0.457 +permissions: 0.441 +i386: 0.427 +boot: 0.419 +register: 0.409 +mistranslation: 0.395 +peripherals: 0.365 +user-level: 0.329 +debug: 0.273 +virtual: 0.212 +assembly: 0.152 + +Cannot exec certain QMP guest commands using unix socket but Virsh can +Description of problem: +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). +Steps to 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 +``` |