qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/2] qga: qmp_guest_network_get_interfaces for win32
@ 2015-05-28 18:40 Kirk Allan
  2015-05-28 18:41 ` [Qemu-devel] [PATCH v3 1/2] qga: add additional win32 cflags and libraries Kirk Allan
  2015-05-28 18:41 ` [Qemu-devel] [PATCH v3 2/2] qga: win32 implementation of qmp_guest_network_get_interfaces Kirk Allan
  0 siblings, 2 replies; 12+ messages in thread
From: Kirk Allan @ 2015-05-28 18:40 UTC (permalink / raw)
  To: qemu-devel; +Cc: okrishtal, mdroth, sw

Changes from v2:
- Patch 1/2 has no changes.
- Patch 2/2 implemented feedback from v2. For GetAdaptersAddresses and
GetAdaptersInfo, made an initial call to get size required before allocating.
Use error_setg_win32 when Win32 API sets last error.  Use Win32 InetNtop rather
than inet_ntop.  Delcare variable at beginning of function rather than in a
block.

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 is that same as before.
It will take advantage of _WIN32_WINNT if set to 0x600 or greater for
Windows Vista/2008 guests or newer to use inet_ntop and OnLinkPrefixLength
for getting addresses and prefixes.

Kirk Allan (2):
  qga: add additional win32 cflags and libraries
  qga: win32 implementation of qmp_guest_network_get_interfaces

 configure            |   9 +-
 qga/commands-win32.c | 292 ++++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 297 insertions(+), 4 deletions(-)

-- 
1.8.5.6

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-06-03 10:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-28 18:40 [Qemu-devel] [PATCH v3 0/2] qga: qmp_guest_network_get_interfaces for win32 Kirk Allan
2015-05-28 18:41 ` [Qemu-devel] [PATCH v3 1/2] qga: add additional win32 cflags and libraries Kirk Allan
2015-05-28 22:51   ` Eric Blake
2015-05-29 16:42     ` Kirk Allan
2015-05-28 18:41 ` [Qemu-devel] [PATCH v3 2/2] qga: win32 implementation of qmp_guest_network_get_interfaces Kirk Allan
2015-05-28 20:54   ` Denis V. Lunev
2015-05-29 10:39     ` Olga Krishtal
     [not found]       ` <5568437C020000760012F8A9@prv-mh.provo.novell.com>
2015-06-03 10:19         ` Olga Krishtal
2015-06-03 10:35           ` Olga Krishtal
2015-05-28 22:56   ` Eric Blake
2015-05-29  9:59     ` Olga Krishtal
2015-06-03 10:11       ` Olga Krishtal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).