The first two patches work on adding an Error * argument to monitor_get_fd(). The second patch is the actual conversion of add_client.
v2 o add Error * argument to monitor_get_fd() o fix schema doc mistakes dump.c | 3 +-- hw/kvm/pci-assign.c | 12 +++--------- migration-fd.c | 2 +- monitor.c | 48 ++++++------------------------------------------ monitor.h | 2 +- qapi-schema.json | 23 +++++++++++++++++++++++ qmp-commands.hx | 5 +---- qmp.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 79 insertions(+), 59 deletions(-)