[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Win2k host problem with {get,free}{addr,name}info()
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] Win2k host problem with {get,free}{addr,name}info() |
Date: |
Sun, 19 Sep 2010 16:16:16 +0000 |
On Wed, Sep 15, 2010 at 7:25 PM, Anthony Liguori <address@hidden> wrote:
> On 09/15/2010 02:11 PM, Blue Swirl wrote:
>>
>> Hi,
>>
>> I tried to test QEMU on Win2k, but there are run time errors because
>> of missing {get,free}{addr,name}info() functions. After adding dummy
>> defines in place, there are no more errors.
>>
>> I found a similar case, where a compatibility patch was proposed:
>> http://trac.filezilla-project.org/ticket/1532
>>
>> The patch is a bit heavy, consisting of run time detection of Win2k
>> and full replacements for the functions. Are there any alternative
>> solutions? I'm by no means a Windows expert.
>>
>
> Win2k is EOL so I don't think it's useful for us to support it as a host.
> So any type of patch is just going to add additional complexity for very
> little real gain.
I made a compatibility patch based on the FileZilla patch. The impact
is very low, outside of the new files added, only Makefiles are
changed.
With the patch I was able to run QEMU with network connectivity on
Win2k. Also the tools work, they also seem to depend on getaddrinfo &
co.
Makefile | 6
Makefile.objs | 3
Makefile.target | 1
net/getaddrinfo.c | 413 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
net/getaddrinfo.h | 121 +++++++++++++++
net/inet_ntop.c | 237 ++++++++++++++++++++++++++++++
net/inet_ntop.h | 47 ++++++
7 files changed, 825 insertions(+), 3 deletions(-)
0001-mingw-Win2k-support-for-getaddrinfo-etc.patch
Description: application/mbox
- [Qemu-devel] Win2k host problem with {get,free}{addr,name}info(), Blue Swirl, 2010/09/15
- Re: [Qemu-devel] Win2k host problem with {get,free}{addr,name}info(), Anthony Liguori, 2010/09/15
- Re: [Qemu-devel] Win2k host problem with {get,free}{addr,name}info(),
Blue Swirl <=
- Re: [Qemu-devel] Win2k host problem with {get,free}{addr,name}info(), Anthony Liguori, 2010/09/20
- Re: [Qemu-devel] Win2k host problem with {get,free}{addr,name}info(), Blue Swirl, 2010/09/20
- Re: [Qemu-devel] Win2k host problem with {get,free}{addr,name}info(), Blue Swirl, 2010/09/20
- Re: [Qemu-devel] Win2k host problem with {get,free}{addr,name}info(), Anthony Liguori, 2010/09/20
- Re: [Qemu-devel] Win2k host problem with {get,free}{addr,name}info(), Blue Swirl, 2010/09/21
- Re: [Qemu-devel] Win2k host problem with {get,free}{addr,name}info(), Anthony Liguori, 2010/09/21
- Re: [Qemu-devel] Win2k host problem with {get,free}{addr,name}info(), Blue Swirl, 2010/09/22
- [Qemu-devel] Re: Win2k host problem with {get, free}{addr, name}info(), Paolo Bonzini, 2010/09/22
- [Qemu-devel] Re: Win2k host problem with {get, free}{addr, name}info(), Anthony Liguori, 2010/09/22
- [Qemu-devel] Re: Win2k host problem with {get, free}{addr, name}info(), Paolo Bonzini, 2010/09/22