[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RESEND][PATCH] qemu_chr_open_tcp: allow ipv4 and ipv6
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [RESEND][PATCH] qemu_chr_open_tcp: allow ipv4 and ipv6 options |
Date: |
Mon, 9 Feb 2009 21:09:19 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Jan 26, 2009 at 09:21:58PM +0100, Sebastian Herbszt wrote:
> Those new options are parsed in qemu-sockets.c. Allow them instead of
> printing "Unknown option".
>
> - Sebastian
Thanks, applied.
> --- 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;
>
>
>
>
--
Aurelien Jarno GPG: 1024D/F1BCDB73
address@hidden http://www.aurel32.net
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [RESEND][PATCH] qemu_chr_open_tcp: allow ipv4 and ipv6 options,
Aurelien Jarno <=