From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzqQY-0002OE-Vn for qemu-devel@nongnu.org; Tue, 02 Jun 2015 13:56:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzqQV-0003Pm-Q5 for qemu-devel@nongnu.org; Tue, 02 Jun 2015 13:56:38 -0400 Received: from inet-orm.provo.novell.com ([137.65.248.124]:42575 helo=mail.novell.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzqQV-0003Nd-It for qemu-devel@nongnu.org; Tue, 02 Jun 2015 13:56:35 -0400 From: Kirk Allan Date: Tue, 2 Jun 2015 11:41:05 -0600 Message-Id: <1433266867-20748-1-git-send-email-kallan@suse.com> Subject: [Qemu-devel] [PATCH v6 0/2] qga: qmp_guest_network_get_interfaces for win32 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: okrishtal@parallels.com, pbonzini@redhat.com, mdroth@linux.vnet.ibm.com, sw@weilnetz.de Changes from v5: - Patch 1/2 removed testing for WINVER in QEMU_CFLAGS. Changes from v4: - Fixed up the commit messages to remove the utf-8 characters. Changes from v3: - Patch 1/2 removed setting ARCH_$ARCH - Patch 2/2 implemented feedback from v3. Use WSAAddressToString for inet_ntop functionality. WSAStringToAddress is available in all versions of Windows. This patch set is to implement qmp_guest_network_get_interfaces for win32. This patch set contains two patches: configuration and implementation. The configuration patch adds the iphlpapi library. The implementation patch for commands-win32.c takes advantage of _WIN32_WINNT if set to 0x600 or greater for Windows Vista/2008 guests or newer to use OnLinkPrefixLength for prefixes. WSAStringToAddress is used for inet_ntop functionality. Kirk Allan (2): qga: add win32 library iphlpapi qga: win32 qmp_guest_network_get_interfaces implementation configure | 2 +- qga/commands-win32.c | 220 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 218 insertions(+), 4 deletions(-) -- 1.8.5.6