projects
/
sdk
/
emulator
/
qemu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'v2.5.0' into tizen_3.0_qemu_2.5
[sdk/emulator/qemu.git]
/
util
/
qemu-sockets.c
diff --git
a/util/qemu-sockets.c
b/util/qemu-sockets.c
index
5a31d16
..
a96a8d7
100644
(file)
--- a/
util/qemu-sockets.c
+++ b/
util/qemu-sockets.c
@@
-367,6
+367,14
@@
static struct addrinfo *inet_parse_connect_opts(QemuOpts *opts, Error **errp)
ai.ai_family = PF_INET6;
}
+#ifdef CONFIG_MARU
+ // for lookup loopback interface...
+ if (addr[0] == '\0') {
+ ai.ai_flags = 0;
+ addr = NULL;
+ }
+#endif
+
/* lookup */
rc = getaddrinfo(addr, port, &ai, &res);
if (rc != 0) {