From: "Sebastian Herbszt" <herbszt@gmx.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [RESEND][PATCH] qemu_chr_open_tcp: allow ipv4 and ipv6 options
Date: Mon, 26 Jan 2009 21:21:58 +0100 [thread overview]
Message-ID: <5A5201B4FE9C4DA2863CFFF07051BFB6@FSCPC> (raw)
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;
next reply other threads:[~2009-01-26 20:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-26 20:21 Sebastian Herbszt [this message]
2009-01-26 22:35 ` [Qemu-devel] [RESEND][PATCH] qemu_chr_open_tcp: allow ipv4 and ipv6 options Anthony Liguori
2009-01-27 22:18 ` [Qemu-devel] Re: [RESEND][PATCH] qemu_chr_open_tcp: allow ipv4 andipv6 options Sebastian Herbszt
2009-02-09 20:09 ` [Qemu-devel] [RESEND][PATCH] qemu_chr_open_tcp: allow ipv4 and ipv6 options Aurelien Jarno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5A5201B4FE9C4DA2863CFFF07051BFB6@FSCPC \
--to=herbszt@gmx.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.