qemu/monitor
Marc-André Lureau 4bf21c7f74 monitor: restrict command getfd to POSIX hosts
Currently, the function will simply fail if ancillary fds are not
provided, for ex on unsupported platforms.

This changes the failure from:

    {"error": {"class": "GenericError", "desc": "No file descriptor
    supplied via SCM_RIGHTS"}}

to:

    {"error": {"class": "CommandNotFound", "desc": "The command getfd
    has not been found"}}

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
2023-03-13 15:46:09 +04:00
..
fds.c monitor: restrict command getfd to POSIX hosts 2023-03-13 15:46:09 +04:00
hmp-cmds-target.c
hmp-cmds.c monitor: restrict command getfd to POSIX hosts 2023-03-13 15:46:09 +04:00
hmp-target.c
hmp.c
meson.build
monitor-internal.h
monitor.c
qmp-cmds-control.c
qmp-cmds.c
qmp.c
trace-events
trace.h