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 version splits the previous single patch into two patches: configuration and implementation. The configuration patch utilizes the -–extra-cflags rather than introduce a new option for setting _WIN32_WINNT and WINVER. 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 additional win32 cflags and libraries qga: win32 qmp_guest_network_get_interfaces implementation configure | 9 ++- qga/commands-win32.c | 220 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 224 insertions(+), 5 deletions(-) -- 1.8.5.6