stub: Remove monitor-fd.c
authorIlya Leoshkevich <iii@linux.ibm.com>
Mon, 17 Feb 2025 10:48:49 +0000 (11:48 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 25 Feb 2025 15:18:11 +0000 (16:18 +0100)
commit5384d92e22577306408cefff887bc5a4b154f470
treed506b8cc3f9bb345a08aab994effbe34830313cf
parent29b9a66f9186f028ec46b58c9914d2da68c25c2c
stub: Remove monitor-fd.c

Both monitor-fd.c and monitor-internal.c contain a stub for
monitor_get_fd(), which causes a duplicate symbol linker error when
linking rust-qemu-api-integration. Use monitor-internal.c instead of
monitor-fd.c and remove the latter.

Reported-by: Zhao Liu <zhao1.liu@intel.com>
Suggested-by: Zhao Liu <zhao1.liu@intel.com>
Fixes: fccb744f41c6 ("gdbstub: Try unlinking the unix socket before binding")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250217104900.230122-1-iii@linux.ibm.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
stubs/meson.build
stubs/monitor-fd.c [deleted file]