qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [RESEND][PATCH] qemu_chr_open_tcp: allow ipv4 andipv6 o


From: Sebastian Herbszt
Subject: [Qemu-devel] Re: [RESEND][PATCH] qemu_chr_open_tcp: allow ipv4 andipv6 options
Date: Tue, 27 Jan 2009 23:18:04 +0100

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 <address@hidden>

- 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 via email to

[Prev in Thread] Current Thread [Next in Thread]