[PR #30] Fix address resolution issue with -s option #54

Open
opened 2026-01-31 21:29:33 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/qemu/qemu/pull/30

State: closed
Merged: No


In qemu_chr_parse_socket, port is copied to addr, but has_port is not set, so port isn't copied in future qapi_copy_SocketAddress calls. This results in an "address resolution failed for ::" message when using the -s option (or using -gdb tcp::<port>, i.e. not specifying a hostname).

**Original Pull Request:** https://github.com/qemu/qemu/pull/30 **State:** closed **Merged:** No --- In `qemu_chr_parse_socket`, `port` is copied to `addr`, but `has_port` is not set, so `port` isn't copied in future `qapi_copy_SocketAddress` calls. This results in an "address resolution failed for ::" message when using the `-s` option (or using `-gdb tcp::<port>`, i.e. not specifying a hostname).
claunia added the pull-request label 2026-01-31 21:29:33 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/qemu#54