[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [6584] qemu_chr_open_tcp: allow ipv4 and ipv6 options
From: |
Aurelien Jarno |
Subject: |
[Qemu-devel] [6584] qemu_chr_open_tcp: allow ipv4 and ipv6 options |
Date: |
Mon, 09 Feb 2009 20:09:29 +0000 |
Revision: 6584
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6584
Author: aurel32
Date: 2009-02-09 20:09:29 +0000 (Mon, 09 Feb 2009)
Log Message:
-----------
qemu_chr_open_tcp: allow ipv4 and ipv6 options
Those new options are parsed in qemu-sockets.c. Allow them instead of
printing "Unknown option".
Signed-off-by: Sebastian Herbszt <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Modified Paths:
--------------
trunk/qemu-char.c
Modified: trunk/qemu-char.c
===================================================================
--- trunk/qemu-char.c 2009-02-09 19:59:57 UTC (rev 6583)
+++ trunk/qemu-char.c 2009-02-09 20:09:29 UTC (rev 6584)
@@ -1992,6 +1992,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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [6584] qemu_chr_open_tcp: allow ipv4 and ipv6 options,
Aurelien Jarno <=