Re: [PATCH v2 18/18] stubs: move monitor_fdsets_cleanup with other fdset stubs

2024-04-08 Thread Richard Henderson
On 4/8/24 05:53, Paolo Bonzini wrote: Even though monitor_get_fd() has to remain separate because it is mocked by tests/unit/test-util-sockets, monitor_fdsets_cleanup() is logically part of the stubs for monitor/fds.c, so move it there. Signed-off-by: Paolo Bonzini --- stubs/fdset.c

[PATCH v2 18/18] stubs: move monitor_fdsets_cleanup with other fdset stubs

2024-04-08 Thread Paolo Bonzini
Even though monitor_get_fd() has to remain separate because it is mocked by tests/unit/test-util-sockets, monitor_fdsets_cleanup() is logically part of the stubs for monitor/fds.c, so move it there. Signed-off-by: Paolo Bonzini --- stubs/fdset.c| 6 ++ stubs/monitor-internal.c |