qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Sebastian Herbszt" <herbszt@gmx.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [RESEND][PATCH] qemu_chr_open_tcp: allow ipv4 andipv6	options
Date: Tue, 27 Jan 2009 23:18:04 +0100	[thread overview]
Message-ID: <513998C66AE7454799A504727BAF4977@FSCPC> (raw)
In-Reply-To: <497E3AA4.70501@us.ibm.com>

Anthony Liguori wrote:
> Sebastian Herbszt wrote:
>> Those new options are parsed in qemu-sockets.c. Allow them instead of 
>> printing "Unknown option".
> 
> Needs a Signed-off-by line.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>

- Sebastian
 
> Regards,
> 
> Anthony Liguori
> 
>> - 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;
>>
>>
>>
>>
> 
> 
> 
>

  reply	other threads:[~2009-01-27 22:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-26 20:21 [Qemu-devel] [RESEND][PATCH] qemu_chr_open_tcp: allow ipv4 and ipv6 options Sebastian Herbszt
2009-01-26 22:35 ` Anthony Liguori
2009-01-27 22:18   ` Sebastian Herbszt [this message]
2009-02-09 20:09 ` 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=513998C66AE7454799A504727BAF4977@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 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).