qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kirk Allan <kallan@suse.com>
To: qemu-devel@nongnu.org
Cc: okrishtal@parallels.com, mdroth@linux.vnet.ibm.com, sw@weilnetz.de
Subject: [Qemu-devel] [PATCH v4 0/2] qga: qmp_guest_network_get_interfaces for win32
Date: Mon,  1 Jun 2015 12:56:15 -0600	[thread overview]
Message-ID: <1433184977-20001-1-git-send-email-kallan@suse.com> (raw)

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

             reply	other threads:[~2015-06-01 18:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-01 18:56 Kirk Allan [this message]
2015-06-01 18:56 ` [Qemu-devel] [PATCH v4 1/2] qga: add additional win32 cflags and libraries Kirk Allan
2015-06-01 19:00   ` Eric Blake
2015-06-01 20:24   ` Paolo Bonzini
2015-06-01 21:19     ` Kirk Allan
2015-06-02 14:08       ` Paolo Bonzini
2015-06-02 15:30         ` Kirk Allan
2015-06-02 19:41           ` Paolo Bonzini
2015-06-01 18:56 ` [Qemu-devel] [PATCH v4 2/2] qga: win32 implementation of qmp_guest_network_get_interfaces Kirk Allan
2015-06-01 19:02   ` Eric Blake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1433184977-20001-1-git-send-email-kallan@suse.com \
    --to=kallan@suse.com \
    --cc=mdroth@linux.vnet.ibm.com \
    --cc=okrishtal@parallels.com \
    --cc=qemu-devel@nongnu.org \
    --cc=sw@weilnetz.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).