[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/4] sockets: helper functions for qemu.
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH 2/4] sockets: helper functions for qemu. |
Date: |
Tue, 28 Oct 2008 16:10:54 +0100 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080723) |
Daniel P. Berrange wrote:
> On Tue, Oct 28, 2008 at 03:22:35PM +0100, Gerd Hoffmann wrote:
>> Daniel P. Berrange wrote:
>> Sure? I've googled a bit on this issue, looked what apache does here.
>> I've figured this can be changed per socket, with a system-wide default
>> configurable via sysctl (and different OSes have different default
>> configs here).
>
> Ah, I was mis-understanding what IPV6_V6ONLY was doing here. If that's
> portable to BSD like OS too, then I reckon that's sufficient and would
> avoid need for separate sockets.
I hope so, but didn't actually test that on something BSDish. Maybe the
BSD folks on the list can comment/test?
> Uli was demonstrating how to achieve total protocol independance
> in your code. So if someone invents something better even than
> IPv6 your code would still work. If you're happy to limit yourself
> to just IPv4 & IPv6, then the IPV6_V6ONLY trick would work.
Right now there isn't anything else, and I'd prefer to tackle the issue
of other protocols once we have them. There are also some more ipv4/v6
assumptions in the code, so other protocols wouldn't work out-of-the-box
anyway.
cheers,
Gerd
- Re: [Qemu-devel] [PATCH 1/4] Implement "info chardev" command., (continued)
Re: [Qemu-devel] [PATCH 1/4] Implement "info chardev" command., Daniel P. Berrange, 2008/10/28
[Qemu-devel] [PATCH 4/4] sockets: switch over tcp/telnet/unix serial line to new helper functions., Gerd Hoffmann, 2008/10/28
[Qemu-devel] [PATCH 2/4] sockets: helper functions for qemu., Gerd Hoffmann, 2008/10/28
[Qemu-devel] [PATCH 3/4] sockets: switch vnc to new code, support vnc port auto-allocation., Gerd Hoffmann, 2008/10/28
Re: [Qemu-devel] [PATCH 0/4] ipv6 and autoport patches., Anthony Liguori, 2008/10/28