qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 659351] [NEW] QEMU uses obsolete gethostbyname and ine


From: Benjamin Jencks
Subject: [Qemu-devel] [Bug 659351] [NEW] QEMU uses obsolete gethostbyname and inet_aton rather than getaddrinfo
Date: Tue, 12 Oct 2010 17:20:31 -0000

Public bug reported:

In several places, including the tcp migration code, qemu uses
gethostbyname and inet_aton to construct a sockaddr_in. These should be
replaced by the more modern getaddrinfo for both connect and accept,
along with a loop to try all returned addrinfo structs on the connecting
side. This would also allow migration over IPv6.

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
QEMU uses obsolete gethostbyname and inet_aton rather than getaddrinfo
https://bugs.launchpad.net/bugs/659351
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
In several places, including the tcp migration code, qemu uses gethostbyname 
and inet_aton to construct a sockaddr_in. These should be replaced by the more 
modern getaddrinfo for both connect and accept, along with a loop to try all 
returned addrinfo structs on the connecting side. This would also allow 
migration over IPv6.





reply via email to

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