qemu-e2k/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 monitor: Move target-dependent HMP commands to hmp-cmds-target.c 2023-02-04 07:56:54 +01:00
hmp-cmds.c monitor: restrict command getfd to POSIX hosts 2023-03-13 15:46:09 +04:00
hmp-target.c monitor: Rename misc.c to hmp-target.c 2023-02-04 07:56:54 +01:00
hmp.c readline: fix hmp completion issue 2023-03-01 20:46:07 +01:00
meson.build monitor: Rename misc.c to hmp-target.c 2023-02-04 07:56:54 +01:00
monitor-internal.h hmp: Rename help_cmd() to hmp_help_cmd(), move declaration to hmp.h 2023-02-04 07:56:54 +01:00
monitor.c monitor: Loosen coupling between misc.c and monitor.c slightly 2023-02-04 07:56:54 +01:00
qmp-cmds-control.c monitor: Drop unnecessary includes 2023-02-04 07:56:52 +01:00
qmp-cmds.c qmp: 'add_client' actually expects sockets 2023-03-13 15:40:41 +04:00
qmp.c
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h