android_adb: Listen for ADB connections on 127.0.0.1, not localhost
QEMU's inet_listen() routine only listens on the first result
it gets back for the hostname it is passed; if that is an IPv6
address, as it is on Windows, then we end up listening on the
IPv6 loopback address, and the adb server fails to connect to
us because it is expecting to use IPv4. Use the explicit IPv4
loopback address 127.0.0.1 to ensure we are listening where
the adb server expects to find us.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
1 file changed