* [Qemu-devel] [PATCH] qemu_chr_open_tcp: allow ipv4 and ipv6 options
@ 2008-12-27 16:58 Sebastian Herbszt
0 siblings, 0 replies; only message in thread
From: Sebastian Herbszt @ 2008-12-27 16:58 UTC (permalink / raw)
To: qemu-devel
Those new options are parsed in qemu-sockets.c. Allow them instead of printing "Unknown option".
- Sebastian
--- qemu-r6133/qemu-char.c.orig Sat Dec 27 15:55:48 2008
+++ qemu-r6133/qemu-char.c Sat Dec 27 16:54:23 2008
@@ -2035,6 +2035,10 @@
do_nodelay = 1;
} else if (!strncmp(ptr,"to=",3)) {
/* nothing, inet_listen() parses this one */;
+ } else if (!strncmp(ptr,"ipv4",4)) {
+ /* nothing, inet_connect() and inet_listen() parse this one */;
+ } else if (!strncmp(ptr,"ipv6",4)) {
+ /* nothing, inet_connect() and inet_listen() parse this one */;
} else {
printf("Unknown option: %s\n", ptr);
goto fail;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-27 17:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-27 16:58 [Qemu-devel] [PATCH] qemu_chr_open_tcp: allow ipv4 and ipv6 options Sebastian Herbszt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).